mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Update auth.coffee
This commit is contained in:
parent
c1d9a5ae13
commit
68ed142bd6
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ module.exports.setup = (app) ->
|
|||
|
||||
hash = User.hashPassword(password)
|
||||
unless user.get('passwordHash') is hash
|
||||
return done(null, false, {message: 'is wrong.', property: 'password'})
|
||||
return done(null, false, {message: 'is wrong', property: 'password'})
|
||||
return done(null, user)
|
||||
)
|
||||
))
|
||||
|
|
Loading…
Reference in a new issue