diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-07-27 10:05:23 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-07-27 10:05:23 +0200 |
| commit | 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab (patch) | |
| tree | 39a1a4629749056191c05dfd899f931701b7acf3 /srcs/phpmyadmin/templates/login/twofactor | |
| parent | 5afd237bbd22028b85532b8c0b3fcead49a00764 (diff) | |
| download | ft_server-master.tar.gz ft_server-master.tar.bz2 ft_server-master.zip | |
Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my famillyHEADmaster
Diffstat (limited to 'srcs/phpmyadmin/templates/login/twofactor')
7 files changed, 0 insertions, 40 deletions
diff --git a/srcs/phpmyadmin/templates/login/twofactor/application.twig b/srcs/phpmyadmin/templates/login/twofactor/application.twig deleted file mode 100644 index 3077e03..0000000 --- a/srcs/phpmyadmin/templates/login/twofactor/application.twig +++ /dev/null @@ -1,4 +0,0 @@ -<p> -<label>{% trans "Authentication code:" %} <input type="text" name="2fa_code" autocomplete="off"></label> -</p> -<p>{% trans "Open the two-factor authentication app on your device to view your authentication code and verify your identity." %}</p> diff --git a/srcs/phpmyadmin/templates/login/twofactor/application_configure.twig b/srcs/phpmyadmin/templates/login/twofactor/application_configure.twig deleted file mode 100644 index e823bb3..0000000 --- a/srcs/phpmyadmin/templates/login/twofactor/application_configure.twig +++ /dev/null @@ -1,17 +0,0 @@ -{{ get_hidden_inputs() }} -<p> - {% trans "Please scan following QR code into the two-factor authentication app on your device and enter authentication code it generates." %} -</p> -<p> - {% if has_imagick %} - <img src="{{ image }}"> - {% else %} - {{ image|raw }} - {% endif %} -</p> -<p> - {% trans "Secret/key:" %} <strong>{{ secret }}</strong> -</p> -<p> - <label>{% trans "Authentication code:" %} <input type="text" name="2fa_code" autocomplete="off"></label> -</p> diff --git a/srcs/phpmyadmin/templates/login/twofactor/invalid.twig b/srcs/phpmyadmin/templates/login/twofactor/invalid.twig deleted file mode 100644 index 568dd94..0000000 --- a/srcs/phpmyadmin/templates/login/twofactor/invalid.twig +++ /dev/null @@ -1,3 +0,0 @@ -<div class="error"> -{% trans "The configured two factor authentication is not available, please install missing dependencies." %} -</div> diff --git a/srcs/phpmyadmin/templates/login/twofactor/key-https-warning.twig b/srcs/phpmyadmin/templates/login/twofactor/key-https-warning.twig deleted file mode 100644 index d3f9c04..0000000 --- a/srcs/phpmyadmin/templates/login/twofactor/key-https-warning.twig +++ /dev/null @@ -1,5 +0,0 @@ -{% if not is_https %} -<div class="error"> -{% trans "You are not using https to access phpMyAdmin, therefore FIDO U2F device will most likely refuse to authenticate you." %} -</div> -{% endif %} diff --git a/srcs/phpmyadmin/templates/login/twofactor/key.twig b/srcs/phpmyadmin/templates/login/twofactor/key.twig deleted file mode 100644 index 79ade47..0000000 --- a/srcs/phpmyadmin/templates/login/twofactor/key.twig +++ /dev/null @@ -1,5 +0,0 @@ -{% include 'login/twofactor/key-https-warning.twig' %} -<p> -{% trans "Please connect your FIDO U2F device into your computer's USB port. Then confirm login on the device." %} -</p> -<input id="u2f_authentication_response" name="u2f_authentication_response" value="" type="hidden" data-request="{{ request }}"> diff --git a/srcs/phpmyadmin/templates/login/twofactor/key_configure.twig b/srcs/phpmyadmin/templates/login/twofactor/key_configure.twig deleted file mode 100644 index 8b502dc..0000000 --- a/srcs/phpmyadmin/templates/login/twofactor/key_configure.twig +++ /dev/null @@ -1,5 +0,0 @@ -{% include 'login/twofactor/key-https-warning.twig' %} -<p> -{% trans "Please connect your FIDO U2F device into your computer's USB port. Then confirm registration on the device." %} -</p> -<input id="u2f_registration_response" name="u2f_registration_response" value="" type="hidden" data-request="{{ request }}" data-signatures="{{ signatures }}"> diff --git a/srcs/phpmyadmin/templates/login/twofactor/simple.twig b/srcs/phpmyadmin/templates/login/twofactor/simple.twig deleted file mode 100644 index eeae140..0000000 --- a/srcs/phpmyadmin/templates/login/twofactor/simple.twig +++ /dev/null @@ -1 +0,0 @@ -<input type="hidden" name="2fa_confirm" value="1"> |
