aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/templates/login/twofactor/key-https-warning.twig
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/phpmyadmin/templates/login/twofactor/key-https-warning.twig')
-rw-r--r--srcs/phpmyadmin/templates/login/twofactor/key-https-warning.twig5
1 files changed, 5 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/templates/login/twofactor/key-https-warning.twig b/srcs/phpmyadmin/templates/login/twofactor/key-https-warning.twig
new file mode 100644
index 0000000..d3f9c04
--- /dev/null
+++ b/srcs/phpmyadmin/templates/login/twofactor/key-https-warning.twig
@@ -0,0 +1,5 @@
+{% 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 %}