make password field less goofy in 2fa screen

This commit is contained in:
Hugh Rundle 2022-09-18 20:30:45 +10:00
parent 9b74c26742
commit e1b1bb20dc

View file

@ -60,6 +60,8 @@
{% 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 <em>Authy</em>, <em>Google Authenticator</em> or <em>Microsoft Authenticator</em> each time you log in." %} {% 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 <em>Authy</em>, <em>Google Authenticator</em> or <em>Microsoft Authenticator</em> each time you log in." %}
</p> </p>
<p> {% trans "Confirm your password to begin setting up 2FA." %}</p> <p> {% trans "Confirm your password to begin setting up 2FA." %}</p>
<div class="columns">
<div class="column is-one-third">
<form name="confirm-password" action="{% url 'prefs-2fa' %}" method="post" enctype="multipart/form-data"> <form name="confirm-password" action="{% url 'prefs-2fa' %}" method="post" enctype="multipart/form-data">
{% csrf_token %} {% csrf_token %}
<div class="field"> <div class="field">
@ -69,6 +71,8 @@
</div> </div>
<button class="button is-primary" type="submit">{% trans "Set up 2FA" %}</button> <button class="button is-primary" type="submit">{% trans "Set up 2FA" %}</button>
</form> </form>
</div>
</div>
{% endif %} {% endif %}
</div> </div>
{% endblock %} {% endblock %}