diff --git a/lib/wsapi/authenticate_user.js b/lib/wsapi/authenticate_user.js index 3c7d321f2a94277b3b860c248001cb794a662a04..e867e8df4fa98927108e3d7b8a629f88ea6b4009 100644 --- a/lib/wsapi/authenticate_user.js +++ b/lib/wsapi/authenticate_user.js @@ -77,7 +77,7 @@ exports.process = function(req, res) { // if the work factor has changed, update the hash here. issue #204 // NOTE: this runs asynchronously and will not delay the response - if (config.get('bcrypt_work_factor') != bcrypt.get_rounds(hash)) + if (config.get('bcrypt_work_factor') != bcrypt.getRounds(hash)) updateHash(req, res, uid, hash); } });