Bug in mpos compat auth level

This commit is contained in:
Matt 2014-03-05 16:05:31 -07:00
parent d2f9be48d2
commit 6e91351af2
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ module.exports = function(logger, poolConfig){
} }
else if (!result[0]) else if (!result[0])
authCallback(false); authCallback(false);
else if (data.authLevel === 'worker') else if (mposConfig.stratumAuth === 'worker')
authCallback(true); authCallback(true);
else if (result[0].password === password) else if (result[0].password === password)
authCallback(true) authCallback(true)