mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-23 04:33:11 +00:00
16 lines
302 B
Python
16 lines
302 B
Python
__package__ = 'archivebox.core'
|
|
|
|
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)
|