mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-01-06 10:55:44 +10:00
14 lines
268 B
Python
14 lines
268 B
Python
import os
|
|
from django.conf import settings
|
|
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)
|