Fix typo
This commit is contained in:
parent
e6c4097250
commit
4a1aea875f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue