From e1b1bb20dcb238e9b3575b005edca0f063d94f3a Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Sun, 18 Sep 2022 20:30:45 +1000 Subject: [PATCH] make password field less goofy in 2fa screen --- bookwyrm/templates/preferences/2fa.html | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/bookwyrm/templates/preferences/2fa.html b/bookwyrm/templates/preferences/2fa.html index 0cd8edb63..5d56e828d 100644 --- a/bookwyrm/templates/preferences/2fa.html +++ b/bookwyrm/templates/preferences/2fa.html @@ -60,15 +60,19 @@ {% trans "You can make your account more secure by using Two Factor Authentication (2FA). This will require you to enter a one-time code using a phone app like Authy, Google Authenticator or Microsoft Authenticator each time you log in." %}

{% trans "Confirm your password to begin setting up 2FA." %}

-
- {% csrf_token %} -
- - {{ form.password }} - {% include 'snippets/form_errors.html' with errors_list=form.password.errors id="desc_password" %} +
+
+ + {% csrf_token %} +
+ + {{ form.password }} + {% include 'snippets/form_errors.html' with errors_list=form.password.errors id="desc_password" %} +
+ +
- - +
{% endif %}
{% endblock %}