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:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user