Make the cache TTL configurable

This commit is contained in:
PapaTutuWawa committed 2021-12-09 13:40:39 +01:00
1 parent 167533a65f
commit 440927b2c1
2 files changed
+9 -1

No files matched your search

+1
View File
@@ -173,6 +173,7 @@ if any(os.path.isfile(x) for x in config_locations):
LDAP_BIND_DN = ldap.get("bind_dn", "")
LDAP_BIND_PW = ldap.get("bind_pw", "")
LDAP_BIND_PW_FILE = ldap.get("bind_pw_file", "")
LDAP_CACHE_TTL = ldap.get("cache_ttl", "")
# Configure EteBase to use LDAP
ETEBASE_CREATE_USER_FUNC = "myauth.ldap.create_user"