mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-06 15:57:53 +10:00
wip
This commit is contained in:
@@ -8,6 +8,6 @@ from django.apps import AppConfig
|
||||
class LDAPConfig(AppConfig):
|
||||
"""Django app config for LDAP authentication."""
|
||||
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'archivebox.ldap'
|
||||
verbose_name = 'LDAP Authentication'
|
||||
default_auto_field = "django.db.models.BigAutoField"
|
||||
name = "archivebox.ldap"
|
||||
verbose_name = "LDAP Authentication"
|
||||
|
||||
@@ -11,6 +11,7 @@ import importlib
|
||||
try:
|
||||
BaseLDAPBackend = importlib.import_module("django_auth_ldap.backend").LDAPBackend
|
||||
except ImportError:
|
||||
|
||||
class BaseLDAPBackend:
|
||||
"""Dummy LDAP backend when django-auth-ldap is not installed."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user