mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-18 18:04:50 +02:00
Fixed 2FA disable button in user admin.
This commit is contained in:
parent
714e54853a
commit
3db0baa5e5
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@
|
|||
<input type="hidden" name="_token" value="{{ csrf_token('reset_2fa' ~ entity.id) }}">
|
||||
<button class="btn btn-warning" {% if tfa_disable_disabled %}disabled="disabled"{% endif %}
|
||||
data-delete-btn data-title="{% trans %}user.edit.tfa.disable_tfa_title{% endtrans %}" data-message="{% trans %}user.edit.tfa.disable_tfa_message{% endtrans %}"
|
||||
type="submit" name="reset_2fa">{% trans %}user.edit.tfa.disable_tfa.btn{% endtrans %}</button>
|
||||
type="submit" name="reset_2fa" value="reset_2fa">{% trans %}user.edit.tfa.disable_tfa.btn{% endtrans %}</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue