Adapt role to changes in postorius-ldap-membership-management
Closes https://git.cccv.de/infra/documentation/-/issues/157
This commit is contained in:
parent
18fe38fde4
commit
1a3a1de274
2 changed files with 3 additions and 7 deletions
|
|
@ -40,7 +40,7 @@ MIDDLEWARE = (
|
|||
{% if mailman.web.remote_user %}
|
||||
'django.contrib.auth.middleware.PersistentRemoteUserMiddleware',
|
||||
{% endif %}
|
||||
'django_auth_ldap_remoteuser.middleware.SessionTimeoutMiddleware',
|
||||
'postorius_ldap_membership_management.middleware.SessionTimeoutMiddleware',
|
||||
)
|
||||
|
||||
# Application definition
|
||||
|
|
@ -66,9 +66,6 @@ INSTALLED_APPS = (
|
|||
'allauth',
|
||||
'allauth.account',
|
||||
'allauth.socialaccount',
|
||||
{% if mailman.web.remote_user and mailman.web.ldap %}
|
||||
'django_auth_ldap_remoteuser',
|
||||
{% endif %}
|
||||
{% if mailman.web.ldap %}
|
||||
'postorius_ldap_membership_management',
|
||||
{% endif %}
|
||||
|
|
@ -76,7 +73,7 @@ INSTALLED_APPS = (
|
|||
|
||||
AUTHENTICATION_BACKENDS = (
|
||||
{% if mailman.web.remote_user and mailman.web.ldap %}
|
||||
'django_auth_ldap_remoteuser.backends.LdapRemoteUserBackend',
|
||||
'postorius_ldap_membership_management.backends.LdapRemoteUserBackend',
|
||||
{% else %}
|
||||
{% if mailman.web.remote_user %}
|
||||
'django.contrib.auth.backends.RemoteUserBackend',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue