Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dukeofsussex committed Apr 12, 2017
1 parent 522def1 commit 2c8ebc4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -73,7 +73,7 @@ module.exports = function(pb) {
}

//check to see if a reset value already exists
self.dao.loadByValue('user_id', vars.id, 'password_reset', function(err, passwordReset) {
self.dao.loadByValue('userId', vars.id, 'password_reset', function(err, passwordReset) {
if(util.isError(err)) {
return self.formError(self.ls.g('users.NOT_REGISTERED'), '/admin/users/' + vars.id, cb);
}
Expand Down

0 comments on commit 2c8ebc4

Please sign in to comment.