Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit e57aa73

Browse files
committed
No separate message when account is locked by default.
There should not be a separate message when the account is locked due to too many login attempts, as this would be an information leak.
1 parent b81827b commit e57aa73

8 files changed

Lines changed: 11 additions & 6 deletions

File tree

config/locales/ar.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ ar:
22
login_credential_acceptor:
33
invalid_login_ticket: "لم يتضمّن طلب تسجيل دخولك شهادة تسجيل صالحة."
44
invalid_login_credentials: "اسم المستخدم أو كلمة المرور غير صحيحة."
5+
user_is_locked: "اسم المستخدم أو كلمة المرور غير صحيحة."
56
login:
67
label_username: "اسم المستخدم"
78
label_password: "كلمة المرور"

config/locales/de.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
de:
22
login_credential_acceptor:
33
invalid_login_ticket: "Ihre Anfrage enthielt kein gültiges Login-Ticket."
4-
invalid_login_credentials: "Benutzername oder Passwort falsch."
5-
user_is_locked: "Ihr Account ist wegen zu vieler falscher Loginversuche gesperrt."
4+
invalid_login_credentials: "Benutzername oder Passwort falsch oder Konto gesperrt."
5+
user_is_locked: "Benutzername oder Passwort falsch oder Konto gesperrt."
66
login:
77
label_username: "Benutzername"
88
label_password: "Passwort"

config/locales/en.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
en:
22
login_credential_acceptor:
33
invalid_login_ticket: "Your login request did not include a valid login ticket."
4-
invalid_login_credentials: "Incorrect username or password."
5-
user_is_locked: "Your user is currently locked because of failed login attempts."
4+
invalid_login_credentials: "Incorrect username or password or locked account."
5+
user_is_locked: "Incorrect username or password or locked account."
66
login:
77
label_username: "Username"
88
label_password: "Password"

config/locales/fr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
fr:
22
login_credential_acceptor:
33
invalid_login_ticket: "La demande de connexion n'inclue pas un ticket de connexion valide."
4-
invalid_login_credentials: "Nom d'utilisateur ou mot de passe incorrect."
5-
user_is_locked: "Votre utilisateur est actuellement bloqué dû à des tentatives de connexions échouées."
4+
invalid_login_credentials: "Nom d'utilisateur ou mot de passe incorrect ou l'utilisateur est bloqué."
5+
user_is_locked: "Nom d'utilisateur ou mot de passe incorrect ou l'utilisateur est bloqué."
66
login:
77
label_username: "Nom d'utilisateur"
88
label_password: "Mot de passe"

config/locales/pt-BR.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ pt-BR:
22
login_credential_acceptor:
33
invalid_login_ticket: "Por favor, insira seus dados de acesso."
44
invalid_login_credentials: "Usuário ou senha incorretos."
5+
user_is_locked: "Usuário ou senha incorretos."
56
login:
67
label_username: "Usuário"
78
label_password: "Senha"

config/locales/ru.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ ru:
22
login_credential_acceptor:
33
invalid_login_ticket: "Ваш запрос на авторизацию не содержит корректную информацию об авторизации."
44
invalid_login_credentials: "Неверное имя пользователя или пароль."
5+
user_is_locked: "Неверное имя пользователя или пароль."
56
login:
67
label_username: "Имя пользователя"
78
label_password: "Пароль"

config/locales/zh-CN.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ zh-CN:
22
login_credential_acceptor:
33
invalid_login_ticket: "您的登录请求没有包含有效的登录授权。"
44
invalid_login_credentials: "用户名或密码错误"
5+
user_is_locked: "用户名或密码错误"
56
login:
67
label_username: "用户名"
78
label_password: "密码"

config/locales/zh-TW.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ zh-TW:
22
login_credential_acceptor:
33
invalid_login_ticket: "您的登錄請求沒有包含有效的登錄授權。"
44
invalid_login_credentials: "用戶名或密碼錯誤"
5+
user_is_locked: "用戶名或密碼錯誤"
56
login:
67
label_username: "用戶名"
78
label_password: "密碼"

0 commit comments

Comments
 (0)