mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 23:20:27 +00:00
fixed issue when not using LDAP
This commit is contained in:
parent
d65efe477a
commit
971d6b2e28
@ -20,11 +20,6 @@ from lib import utils
|
|||||||
from lib.log import logger
|
from lib.log import logger
|
||||||
logging = logger('MODEL', app.config['LOG_LEVEL'], app.config['LOG_FILE']).config()
|
logging = logger('MODEL', app.config['LOG_LEVEL'], app.config['LOG_FILE']).config()
|
||||||
|
|
||||||
LDAP_URI = app.config['LDAP_URI']
|
|
||||||
LDAP_USERNAME = app.config['LDAP_USERNAME']
|
|
||||||
LDAP_PASSWORD = app.config['LDAP_PASSWORD']
|
|
||||||
LDAP_SEARCH_BASE = app.config['LDAP_SEARCH_BASE']
|
|
||||||
LDAP_TYPE = app.config['LDAP_TYPE']
|
|
||||||
if 'LDAP_TYPE' in app.config.keys():
|
if 'LDAP_TYPE' in app.config.keys():
|
||||||
LDAP_URI = app.config['LDAP_URI']
|
LDAP_URI = app.config['LDAP_URI']
|
||||||
LDAP_USERNAME = app.config['LDAP_USERNAME']
|
LDAP_USERNAME = app.config['LDAP_USERNAME']
|
||||||
|
Loading…
Reference in New Issue
Block a user