diff --git a/app/views/devise/two_factor_authentication/max_login_attempts_reached.html.erb b/app/views/devise/two_factor_authentication/max_login_attempts_reached.html.erb index 3eae19de3..7ff3d2d0e 100644 --- a/app/views/devise/two_factor_authentication/max_login_attempts_reached.html.erb +++ b/app/views/devise/two_factor_authentication/max_login_attempts_reached.html.erb @@ -6,6 +6,7 @@ <%= content_for(:title) %> +
<%= I18n.t("devise.two_factor_authentication.account_locked") %>
<%= I18n.t("devise.two_factor_authentication.contact_administrator") %>
diff --git a/config/locales/en.yml b/config/locales/en.yml index cccaed1e0..8664dcf1f 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -126,7 +126,8 @@ en: two_factor_authentication: success: "Two factor authentication successful." attempt_failed: "Attempt failed." - max_login_attempts_reached: "Too many incorrect attempts, your account has been locked" + max_login_attempts_reached: "Too many incorrect login attempts" + account_locked: "Your account has been locked for security reasons." contact_administrator: "Contact another helpdesk administrator." code_has_been_sent: "Your security code has been sent." code_required: "Security code is required"