From 6e91351af2a3b2414f887803b470b319c312196f Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 5 Mar 2014 16:05:31 -0700 Subject: [PATCH] Bug in mpos compat auth level --- libs/mposCompatibility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/mposCompatibility.js b/libs/mposCompatibility.js index 972f7e6..266e0cb 100644 --- a/libs/mposCompatibility.js +++ b/libs/mposCompatibility.js @@ -47,7 +47,7 @@ module.exports = function(logger, poolConfig){ } else if (!result[0]) authCallback(false); - else if (data.authLevel === 'worker') + else if (mposConfig.stratumAuth === 'worker') authCallback(true); else if (result[0].password === password) authCallback(true)