1
0
Fork 0
mirror of synced 2024-09-28 23:31:09 +12:00

Merge pull request #1281 from vladimirdulov/bugfix/ldap_and_local_auth

This commit is contained in:
Nick Sweeting 2023-12-06 06:08:06 -08:00 committed by GitHub
commit 4749a3ac6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: