mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-06-14 12:06:06 +00:00
Don't show the LDAP authentication method in the login page if this feature isn't enabled
This commit is contained in:
@ -75,7 +75,9 @@
|
||||
<div class="form-group">
|
||||
<select class="form-control" name="auth_method">
|
||||
<option value="LOCAL">Default Authentication</option>
|
||||
{% if ldap_enabled %}
|
||||
<option value="LDAP">LDAP Authentication</option>
|
||||
{% endif %}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-actions">
|
||||
|
Reference in New Issue
Block a user