From 867021e01a37c6acb34e2a85fc72a255e0a312b3 Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Wed, 20 Apr 2022 11:59:16 +0200 Subject: [PATCH] Improve TOTP form Based on https://bbbootstrap.com/snippets/bootstrap-5-verify-otp-validation-form-inputs-78878858 --- templates/login/opt_input.html | 75 ++++++++++++++++++++++++++++++---- 1 file changed, 67 insertions(+), 8 deletions(-) diff --git a/templates/login/opt_input.html b/templates/login/opt_input.html index 39d449e..a0f5e4d 100644 --- a/templates/login/opt_input.html +++ b/templates/login/opt_input.html @@ -1,24 +1,83 @@ {% extends "base_login_page.html" %} {% block content %} + +

Please go to your authenticator app {{ factor.name }}, generate a new code and enter it here:

-
- + +
- - +
+ + + + + + +
- -
- Sign in using another factor
+ Sign in using another factor
Sign out
+ + {% endblock content %} \ No newline at end of file