mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-01-07 19:05:39 +00:00
Don't require LDAP group parameters if LDAP_GROUP_SECURITY is not chosen
This commit is contained in:
parent
bf094c59cd
commit
05944e8585
@ -20,8 +20,9 @@ LDAP_PASSWORD = app.config['LDAP_PASSWORD']
|
|||||||
LDAP_SEARCH_BASE = app.config['LDAP_SEARCH_BASE']
|
LDAP_SEARCH_BASE = app.config['LDAP_SEARCH_BASE']
|
||||||
LDAP_TYPE = app.config['LDAP_TYPE']
|
LDAP_TYPE = app.config['LDAP_TYPE']
|
||||||
LDAP_GROUP_SECURITY = app.config['LDAP_GROUP_SECURITY']
|
LDAP_GROUP_SECURITY = app.config['LDAP_GROUP_SECURITY']
|
||||||
LDAP_ADMIN_GROUP = app.config['LDAP_ADMIN_GROUP']
|
if LDAP_GROUP_SECURITY == True:
|
||||||
LDAP_USER_GROUP = app.config['LDAP_USER_GROUP']
|
LDAP_ADMIN_GROUP = app.config['LDAP_ADMIN_GROUP']
|
||||||
|
LDAP_USER_GROUP = app.config['LDAP_USER_GROUP']
|
||||||
|
|
||||||
PDNS_STATS_URL = app.config['PDNS_STATS_URL']
|
PDNS_STATS_URL = app.config['PDNS_STATS_URL']
|
||||||
PDNS_API_KEY = app.config['PDNS_API_KEY']
|
PDNS_API_KEY = app.config['PDNS_API_KEY']
|
||||||
|
Loading…
Reference in New Issue
Block a user