This commit is contained in:
Calvin Montgomery 2013-09-03 12:49:02 -05:00
parent e6c4097250
commit 4a1aea875f

View file

@ -1095,7 +1095,7 @@ Database.prototype.recoverUserPassword = function (hash, callback) {
return; return;
} }
if(rows.length == 0) { if(res.length == 0) {
callback("Invalid password reset link", null); callback("Invalid password reset link", null);
return; return;
} }