mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Fix copy/paste error
This commit is contained in:
parent
e37a54e254
commit
04572f61bb
1 changed files with 1 additions and 1 deletions
|
@ -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) ->) ->
|
||||||
|
|
Loading…
Reference in a new issue