2fa-2.0
This commit is contained in:
@@ -46,6 +46,7 @@ class LocalizeTo(object):
|
||||
str_31 = _("Enable")
|
||||
str_32 = _("You must then use the following code to log in. Using the key you will receive by reading the QR code via a OTP or 2FA mobile app.")
|
||||
str_33 = _("Two factor authentication is additional security. By enabling this you will be asked at the login, in addition to the user and password, a key you will receive by QR.")
|
||||
str_34 = _("Code")
|
||||
|
||||
#messages
|
||||
msg_00 = _("The session was closed.")
|
||||
@@ -77,7 +78,6 @@ class LocalizeTo(object):
|
||||
msg_26 = _("Forgot your password? Please try again.")
|
||||
msg_27 = _("The session has expired.")
|
||||
msg_28 = _("Registration is currently closed. We apologize for the inconvenience.")
|
||||
|
||||
msg_29 = _("Two factor authentication has been impossible.")
|
||||
msg_30 = _("Two factor authentication has been restored.")
|
||||
msg_31 = _("Two factor authentication has been enabled.")
|
||||
@@ -90,7 +90,7 @@ class LocalizeTo(object):
|
||||
'or-sign-up':str_17, 'inv-code':str_18, 'edit-fn':str_19, 'edit-email':str_20, 'ch-pwd':str_21,
|
||||
'del-account':str_22, 'welcome':str_23, 'logs':str_24, 'last-login':str_25, 'devices':str_26,
|
||||
'show':str_27, '2fa-title':str_28, 'token':str_29, 'disable':str_30, 'enable':str_31, '2fa-info-1':str_32,
|
||||
'2fa-info-2':str_33, 'pwd-pattern': msg_08}
|
||||
'2fa-info-2':str_33, 'code':str_34, 'pwd-pattern': msg_08}
|
||||
self.msg = (msg_00, msg_01, msg_02, msg_03, msg_04, msg_05, msg_06, msg_07, msg_08, msg_09, msg_10, msg_11,
|
||||
msg_12, msg_13, msg_14, msg_15, msg_16, msg_17, msg_18, msg_19, msg_20, msg_21, msg_22, msg_23,
|
||||
msg_24, msg_25, msg_26, msg_27, msg_28, msg_29, msg_30, msg_31, msg_32, msg_33)
|
||||
|
||||
Reference in New Issue
Block a user