From 44cf6e752c70e24418f28f3d3ee2a6770d577d43 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 15 Nov 2018 00:20:22 +0100 Subject: [PATCH] Disable LDAP auth backend by default --- app/local_settings.py.sample | 5 +++++ app/settings.py | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/local_settings.py.sample b/app/local_settings.py.sample index b7944d03..054934a0 100644 --- a/app/local_settings.py.sample +++ b/app/local_settings.py.sample @@ -69,3 +69,8 @@ EMAIL_SUBJECT_PREFIX = "[PREFIX]" # prefix title in email SITE_TITLE = 'Your Site' SITE_TAGLINE = 'This is a Mezzo site' +AUTHENTICATION_BACKENDS = ( + # "organization.core.backend.OrganizationLDAPBackend", + "mezzanine.core.auth_backends.MezzanineBackend", + "guardian.backends.ObjectPermissionBackend", +) diff --git a/app/settings.py b/app/settings.py index 66673470..7279fd4b 100644 --- a/app/settings.py +++ b/app/settings.py @@ -38,6 +38,7 @@ warnings.filterwarnings( SILENCED_SYSTEM_CHECKS = ['fields.W342',] +SECRET_KEY = "H7665jhuyUTGuhuUYT6è-ertyezçuàçi'09Iikrpokfàçir" ################################### # MEZZANINE ORGANIZATION SETTINGS # @@ -81,7 +82,7 @@ USE_I18N = True USE_L10N = True AUTHENTICATION_BACKENDS = ( - "organization.core.backend.OrganizationLDAPBackend", + # "organization.core.backend.OrganizationLDAPBackend", "mezzanine.core.auth_backends.MezzanineBackend", "guardian.backends.ObjectPermissionBackend", ) -- 2.39.5