finish migrating almost all config to new system

This commit is contained in:
Nick Sweeting 2024-09-30 23:21:34 -07:00
parent 4b6a2a3e50
commit d21bc86075
No known key found for this signature in database
25 changed files with 246 additions and 349 deletions

View file

@ -1,13 +1,11 @@
__package__ = 'archivebox.core'
from ..config.legacy import (
LDAP
)
from archivebox.plugins_auth.ldap.apps import LDAP_CONFIG
def register_signals():
if LDAP:
if LDAP_CONFIG.LDAP_ENABLED:
import django_auth_ldap.backend
from .auth_ldap import create_user