From ed303e2ae865ed2e10672cc4b5701e9b7a59349a Mon Sep 17 00:00:00 2001 From: Kendar Date: Fri, 28 May 2021 14:13:47 +0200 Subject: [PATCH] Check for ldap3 existence --- webvirtcloud/settings.py.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webvirtcloud/settings.py.template b/webvirtcloud/settings.py.template index e27c57b..f2945f8 100644 --- a/webvirtcloud/settings.py.template +++ b/webvirtcloud/settings.py.template @@ -94,8 +94,8 @@ DATABASES = { } AUTHENTICATION_BACKENDS = [ + "webvirtcloud.ldapbackend.LdapAuthenticationBackend", "django.contrib.auth.backends.ModelBackend", - "webvirtcloud.ldapbackend.LdapAuthenticationBackend" ] LOGIN_URL = "/accounts/login/"