1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-18 12:21:42 +02:00

make local auth working along with ldap auth so that local superuser could manage ldap users

This commit is contained in:
Vladimir D
2023-12-06 16:16:51 +04:00
parent dd1e01ee24
commit 37bdcbf950

View File

@@ -124,6 +124,7 @@ if LDAP:
} }
AUTHENTICATION_BACKENDS = [ AUTHENTICATION_BACKENDS = [
'django.contrib.auth.backends.ModelBackend',
'django_auth_ldap.backend.LDAPBackend', 'django_auth_ldap.backend.LDAPBackend',
] ]
except ModuleNotFoundError: except ModuleNotFoundError: