This commit is contained in:
Calvin Montgomery 2013-09-03 12:49:02 -05:00
parent e6c4097250
commit 4a1aea875f
1 changed files with 1 additions and 1 deletions

View File

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