1
0
Fork 0
mirror of synced 2024-06-22 04:10:30 +12: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 = [
'django.contrib.auth.backends.ModelBackend',
'django_auth_ldap.backend.LDAPBackend',
]
except ModuleNotFoundError: