Commit 2b6c2cd6 authored by ibuler's avatar ibuler

修改bug

parent 84a48d3a
......@@ -22,7 +22,7 @@ from connect import CONF
CRYPTOR = PyCrypt(KEY)
LDAP_ENABLE = CONF.get('ldap', 'ldap_enable')
LDAP_ENABLE = CONF.getint('ldap', 'ldap_enable')
if LDAP_ENABLE:
LDAP_HOST_URL = CONF.get('ldap', 'host_url')
LDAP_BASE_DN = CONF.get('ldap', 'base_dn')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment