This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/passbook/channels/in_ldap/settings.py

14 lines
299 B
Python
Raw Normal View History

2018-11-16 09:08:15 +00:00
"""LDAP Settings"""
from celery.schedules import crontab
2018-11-11 12:41:48 +00:00
AUTHENTICATION_BACKENDS = [
"passbook.channels.in_ldap.auth.LDAPBackend",
2018-11-11 12:41:48 +00:00
]
CELERY_BEAT_SCHEDULE = {
2019-12-31 11:51:16 +00:00
"sync": {
"task": "passbook.channels.in_ldap.tasks.sync",
2019-12-31 11:51:16 +00:00
"schedule": crontab(minute=0), # Run every hour
}
}