hide password-reset fields' requisiteness on phone-enabled auth (#88384) #550
|
@ -23,7 +23,7 @@
|
|||
</p>
|
||||
{% endif %}
|
||||
|
||||
<form method="post" class="pk-mark-optional-fields">
|
||||
<form method="post" class="{% if not is_phone_authn_active %}pk-mark-optional-fields{% else %}pk-hide-requisiteness{% endif %}">
|
||||
{% csrf_token %}
|
||||
{{ form|with_template }}
|
||||
<button class="submit-button">{% trans 'Submit' %}</button>
|
||||
|
|
Loading…
Reference in New Issue