+ +
+{% trans "Open the two-factor authentication app on your device to view your authentication code and verify your identity." %}
diff --git a/templates/login/second/application_configure.twig b/templates/login/second/application_configure.twig new file mode 100644 index 0000000000..40a67ad552 --- /dev/null +++ b/templates/login/second/application_configure.twig @@ -0,0 +1,10 @@ +{{ Url_getHiddenInputs() }} ++{% trans "Please scan following QR code into the two-factor authentication app on your device and enter authentication code it generates." %} +
+
+
+
+ +
diff --git a/templates/login/second/key.twig b/templates/login/second/key.twig new file mode 100644 index 0000000000..9e483a80a4 --- /dev/null +++ b/templates/login/second/key.twig @@ -0,0 +1,4 @@ ++{% trans "Please connect your FIDO U2F device into your computer's USB port. Then confirm login on the device." %} +
+ diff --git a/templates/login/second/key_configure.twig b/templates/login/second/key_configure.twig new file mode 100644 index 0000000000..4272ebe88b --- /dev/null +++ b/templates/login/second/key_configure.twig @@ -0,0 +1,4 @@ ++{% trans "Please connect your FIDO U2F device into your computer's USB port. Then confirm registration on the device." %} +
+ diff --git a/templates/login/second/simple.twig b/templates/login/second/simple.twig new file mode 100644 index 0000000000..7fd98241d5 --- /dev/null +++ b/templates/login/second/simple.twig @@ -0,0 +1 @@ + diff --git a/templates/prefs_second.twig b/templates/prefs_second.twig new file mode 100644 index 0000000000..ef3b83204e --- /dev/null +++ b/templates/prefs_second.twig @@ -0,0 +1,53 @@ +{% trans "Two-factor authentication is not available, please install optional dependencies to enable authentication backends." %}
+{% else %} +{% if backend_id %} +{% trans "Two-factor authentication is available and configured for this account." %}
+{% else %} +{% trans "Two-factor authentication is available, but not configured for this account." %}
+{% endif %} +{% endif %} +{% else %} +{% trans "Two-factor authentication is not available, enable phpMyAdmin configuration storage to use it." %}
+{% endif %} +{% trans "You have enabled two factor authentication." %}
+{{ backend_description }}
+ +