about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-28 20:43:38 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-28 20:43:38 +0100
commit23b997ae55655ccae6a9a9e424a3596c9165a481 (patch)
tree91a4f2797495dd9102baa83d0e44862d22b5f97f /config
parent36c57ef8af4f82057d5916a29995f781c0500ff7 (diff)
Split 2FA login into two prompts
Diffstat (limited to 'config')
-rw-r--r--config/locales/en.yml1
-rw-r--r--config/locales/simple_form.en.yml2
2 files changed, 2 insertions, 1 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 941fe5b3f..44396039c 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -114,5 +114,6 @@ en:
     instructions_html: "<strong>Scan this QR code into Google Authenticator or a similiar app on your phone</strong>. From now on, that app will generate tokens that you will have to enter when logging in."
   users:
     invalid_email: The e-mail address is invalid
+    invalid_otp_token: Invalid two-factor code
   will_paginate:
     page_gap: "&hellip;"
diff --git a/config/locales/simple_form.en.yml b/config/locales/simple_form.en.yml
index 5ef4a18fa..09957c914 100644
--- a/config/locales/simple_form.en.yml
+++ b/config/locales/simple_form.en.yml
@@ -21,7 +21,7 @@ en:
         locked: Make account private
         new_password: New password
         note: Bio
-        otp_attempt: If enabled, two-factor token
+        otp_attempt: Two-factor code
         password: Password
         username: Username
       interactions: