diff options
Diffstat (limited to 'srcs/phpmyadmin/templates/login')
10 files changed, 0 insertions, 67 deletions
diff --git a/srcs/phpmyadmin/templates/login/footer.twig b/srcs/phpmyadmin/templates/login/footer.twig deleted file mode 100644 index d9e9659..0000000 --- a/srcs/phpmyadmin/templates/login/footer.twig +++ /dev/null @@ -1,4 +0,0 @@ -</div> -{% if check_timeout == true %} - </div> -{% endif %} diff --git a/srcs/phpmyadmin/templates/login/header.twig b/srcs/phpmyadmin/templates/login/header.twig deleted file mode 100644 index a21dee5..0000000 --- a/srcs/phpmyadmin/templates/login/header.twig +++ /dev/null @@ -1,16 +0,0 @@ -{% if session_expired == true %} - <div id="modalOverlay"> -{% endif %} -<div class="container{{ add_class }}"> -<a href="{{ 'https://www.phpmyadmin.net/'|link }}" target="_blank" rel="noopener noreferrer" class="logo"> -<img src="{{ theme.getImgPath('logo_right.png', 'pma_logo.png') }}" id="imLogo" name="imLogo" alt="phpMyAdmin" border="0"> -</a> -<h1>{{ 'Welcome to %s'|trans|format('<bdo dir="ltr" lang="en">phpMyAdmin</bdo>')|raw }}</h1> - -<noscript> -{{ "Javascript must be enabled past this point!"|trans|error }} -</noscript> - -<div class="hide" id="js-https-mismatch"> -{{ "There is a mismatch between HTTPS indicated on the server and client. This can lead to a non working phpMyAdmin or a security risk. Please fix your server configuration to indicate HTTPS properly."|trans|error }} -</div> diff --git a/srcs/phpmyadmin/templates/login/twofactor.twig b/srcs/phpmyadmin/templates/login/twofactor.twig deleted file mode 100644 index af2bae3..0000000 --- a/srcs/phpmyadmin/templates/login/twofactor.twig +++ /dev/null @@ -1,7 +0,0 @@ -<form method="post" class="disableAjax"> - {{ get_hidden_inputs() }} - {{ form|raw }} - {% if show_submit %} - <input class="btn btn-primary" type="submit" value="{% trans "Verify" %}"> - {% endif %} -</form> 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"> |
