1
0
Fork 0
mirror of synced 2024-08-21 13:01:21 +12:00
ArchiveBox/archivebox/core/auth.py

16 lines
260 B
Python
Raw Normal View History

2024-01-25 23:22:50 +13:00
__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)