Remove otp field (#942)

This commit is contained in:
steschuser
2021-10-30 21:09:04 +02:00
committed by GitHub
parent 4ce1b71c57
commit 1ec6b76f89
3 changed files with 4 additions and 1 deletions

View File

@ -46,9 +46,11 @@
data-error="Please input your password" required {% if password %}value="{{ password }}" {% endif %}>
<span class="help-block with-errors"></span>
</div>
{% if SETTING.get('otp_field_enabled') %}
<div class="form-group">
<input type="otptoken" class="form-control" placeholder="OTP Token" name="otptoken">
</div>
{% endif %}
{% if SETTING.get('ldap_enabled') and SETTING.get('local_db_enabled') %}
<div class="form-group">
<select class="form-control" name="auth_method">