aboutsummaryrefslogtreecommitdiff
path: root/conf/locale
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-05-21 14:24:06 +0800
committerUnknwon <u@gogs.io>2018-05-21 14:24:06 +0800
commit01ccc2cc967935d4093ad3067e2b45bda80653a3 (patch)
treeb52062569bb0efac16641a70f664749107476513 /conf/locale
parentcd093a07a3b8e0c52c93682d325c5b44f9f2dd63 (diff)
security: prevent same passcode from being reused
Reported by @cezar97.
Diffstat (limited to 'conf/locale')
-rw-r--r--conf/locale/locale_en-US.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/locale/locale_en-US.ini b/conf/locale/locale_en-US.ini
index e2c791de..8258f37b 100644
--- a/conf/locale/locale_en-US.ini
+++ b/conf/locale/locale_en-US.ini
@@ -351,6 +351,7 @@ two_factor_or_enter_secret = Or enter the secret:
two_factor_then_enter_passcode = Then enter passcode:
two_factor_verify = Verify
two_factor_invalid_passcode = The passcode you entered is not valid, please try again!
+two_factor_reused_passcode = The passcode you entered has already been used, please try another one!
two_factor_enable_error = Enable Two-factor authentication failed: %v
two_factor_enable_success = Two-factor authentication has enabled for your account successfully!
two_factor_recovery_codes_title = Two-factor Authentication Recovery Codes