add setting to hide otp_token field on login page

This commit is contained in:
Steffen Schwebel
2021-05-27 22:51:07 +02:00
parent ee72fdf9c2
commit 43a6e46e66
3 changed files with 3 additions and 2 deletions

View File

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