Alasdair Smith 8 жил өмнө
parent
commit
04572f61bb

+ 1 - 1
services/web/app/coffee/Features/Authentication/AuthenticationManager.coffee

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