summaryrefslogtreecommitdiffstats
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'app.py')
-rw-r--r--app.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.py b/app.py
index 4a3a962..4c93ccf 100644
--- a/app.py
+++ b/app.py
@@ -20,8 +20,8 @@ app.all_services = account.SERVICES #TODO: take that from our json file or so
@app.before_request
def ldap_connect():
- g.ldap = account.AccountService(account.LDAP_HOST, account.LDAP_BASE_DN,
- account.LDAP_ADMIN_USER, account.LDAP_ADMIN_PASS, app.all_services)
+ g.ldap = account.AccountService(app.config['LDAP_HOST'], app.config['LDAP_BASE_DN'],
+ app.config['LDAP_ADMIN_USER'], app.config['LDAP_ADMIN_PASS'], app.all_services)
g.user = None