From: Guillaume Pellerin Date: Wed, 14 Nov 2018 23:20:22 +0000 (+0100) Subject: Disable LDAP auth backend by default X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=44cf6e752c70e24418f28f3d3ee2a6770d577d43;p=mezzo.git Disable LDAP auth backend by default --- 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", )