Fix copy/paste error

This commit is contained in:
Alasdair Smith 2018-10-05 10:18:53 +01:00
parent e37a54e254
commit 04572f61bb

View file

@ -43,7 +43,7 @@ module.exports = AuthenticationManager =
return { message: 'password is too short' } return { message: 'password is too short' }
if (Settings.passwordStrengthOptions?.length?.min? and if (Settings.passwordStrengthOptions?.length?.min? and
Settings.passwordStrengthOptions?.length?.min > password.length) Settings.passwordStrengthOptions?.length?.min > password.length)
return { message: "password is too short" } return { message: "password is too long" }
return null return null
setUserPassword: (user_id, password, callback = (error) ->) -> setUserPassword: (user_id, password, callback = (error) ->) ->