소스 검색

Fix copy/paste error

Alasdair Smith 8 년 전
부모
커밋
04572f61bb
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      services/web/app/coffee/Features/Authentication/AuthenticationManager.coffee

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