ArchiveBox/archivebox/core/auth.py
2024-04-25 21:36:11 -07:00

14 lines
259 B
Python

__package__ = 'archivebox.core'
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)