add ldap auth

This commit is contained in:
2021-07-11 12:16:41 +02:00
parent cd2a7853dd
commit bbf8719fc9
7 changed files with 108 additions and 17 deletions

View File

@ -9,7 +9,12 @@ CORS_ORIGINS=*
FLASK_APP=app.py
FLASK_ENV=development
# auth method: file or ldap
KI_AUTH=file
# ldap auth only
KI_LDAP_URL=ldap://localhost:10389
KI_LDAP_ROOT_DN=dc=example,dc=com
# 10 = debug
KI_LOGLEVEL=10