Update auth.coffee

This commit is contained in:
Imperadeiro98 2015-01-08 19:27:37 +00:00
parent c1d9a5ae13
commit 68ed142bd6

View file

@ -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)
)
))