2FA
+{{ str['2fa-title'] }}
% if data['secureAuth'] == True: +
+ Aurrerantzean ondorengo kodea erabili beharko duzu saioa hasteko. Mugikorrerako OTP edo 2FA aplikazioa baten
+ bidez QR kodea irakurtzean jasoko duzun gakoa baliatuz horretarako.
+
+
+ Bi urratseko autentifikazioa segurtasun gehigarri bat da. Hau gaituz saio hasieran erabiltzaile eta pasahitzaz
+ gain QR bidez jasoko duzun gako bat eskatuko zaizu.
+
diff --git a/libs/localization.py b/libs/localization.py
index 2f4ff93..a47b0db 100644
--- a/libs/localization.py
+++ b/libs/localization.py
@@ -40,6 +40,12 @@ class LocalizeTo(object):
str_25 = _("Last login")
str_26 = _("Devices")
str_27 = _("show")
+ str_28 = _("Two factor authentication")
+ str_29 = _("Token")
+ str_30 = _("Disable")
+ 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.")
#messages
msg_00 = _("The session was closed.")
@@ -77,5 +83,6 @@ class LocalizeTo(object):
'del':str_12, 'sign-up':str_13, 'back':str_14, 'update':str_15, 'or-sign-in':str_16,
'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, 'pwd-pattern': msg_08}
+ '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}
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)
diff --git a/locales/base.pot b/locales/base.pot
index 1418d44..892c2d4 100644
--- a/locales/base.pot
+++ b/locales/base.pot
@@ -129,7 +129,31 @@ msgstr "Devices"
msgid "show"
msgstr "show"
+#: libs/localization.py:43
+msgid "Two factor authentication"
+msgstr "Two factor authentication"
+
+#: libs/localization.py:44
+msgid "Token"
+msgstr "Token"
+
#: libs/localization.py:45
+msgid "Disable"
+msgstr "Disable"
+
+#: libs/localization.py:46
+msgid "Enable"
+msgstr "Enable"
+
+#: libs/localization.py:47
+msgid "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."
+msgstr "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."
+
+#: libs/localization.py:48
+msgid "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."
+msgstr "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."
+
+#: libs/localization.py:45 ZUZENTZEA FALTA
msgid "The session was closed."
msgstr "The session was closed."
diff --git a/static/style.css b/static/style.css
index cb15d75..a8b9981 100644
--- a/static/style.css
+++ b/static/style.css
@@ -201,6 +201,15 @@ button.red:hover{
text-align: center;
}
+/**/
+
+.info {
+ margin: 0 auto;
+ max-width: 24rem;
+ padding: 0 2.5rem 0 2.5rem;
+ text-align: justify;
+}
+
/**/
.grid-container {
display: grid;
@@ -233,7 +242,16 @@ button.red:hover{
form {
border: 0;
}
+
+ .info {
+ max-width: 16rem;
+ }
+}
+@media only screen and (min-width: 481px) and (max-width: 760px) {
+ .info {
+ max-width: 22rem;
+ }
}
/*