2024-04-25 10:56:22 +00:00
|
|
|
__package__ = 'archivebox.core'
|
|
|
|
|
|
|
|
|
2024-01-24 18:18:02 +00:00
|
|
|
from ..config import (
|
|
|
|
LDAP
|
|
|
|
)
|
|
|
|
|
|
|
|
def register_signals():
|
|
|
|
|
|
|
|
if LDAP:
|
|
|
|
import django_auth_ldap.backend
|
|
|
|
from .auth_ldap import create_user
|
|
|
|
|
|
|
|
django_auth_ldap.backend.populate_user.connect(create_user)
|