mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 22:50:26 +00:00
remove otp token from login page, depending on Setting
This commit is contained in:
parent
32983635c6
commit
bbbcf271fe
@ -46,9 +46,11 @@
|
|||||||
data-error="Please input your password" required {% if password %}value="{{ password }}" {% endif %}>
|
data-error="Please input your password" required {% if password %}value="{{ password }}" {% endif %}>
|
||||||
<span class="help-block with-errors"></span>
|
<span class="help-block with-errors"></span>
|
||||||
</div>
|
</div>
|
||||||
|
{% if SETTING.get('otp_token_enabled') %}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input type="otptoken" class="form-control" placeholder="OTP Token" name="otptoken">
|
<input type="otptoken" class="form-control" placeholder="OTP Token" name="otptoken">
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
{% if SETTING.get('ldap_enabled') and SETTING.get('local_db_enabled') %}
|
{% if SETTING.get('ldap_enabled') and SETTING.get('local_db_enabled') %}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<select class="form-control" name="auth_method">
|
<select class="form-control" name="auth_method">
|
||||||
|
Loading…
Reference in New Issue
Block a user