mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 06:23:41 -04:00
Removed unnecessary full stop
This commit is contained in:
parent
0e7314cf4e
commit
a85e6fb695
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ module.exports.setup = (app) ->
|
|||
|
||||
User.findOne({emailLower: req.body.email.toLowerCase()}).exec((err, user) ->
|
||||
if not user
|
||||
return errors.notFound(res, [{message: 'not found.', property: 'email'}])
|
||||
return errors.notFound(res, [{message: 'not found', property: 'email'}])
|
||||
|
||||
user.set('passwordReset', Math.random().toString(36).slice(2, 7).toUpperCase())
|
||||
user.save (err) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue