diff options
Diffstat (limited to 'meetingtools')
-rw-r--r-- | meetingtools/apps/auth/views.py | 2 | ||||
-rw-r--r-- | meetingtools/settings.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meetingtools/apps/auth/views.py b/meetingtools/apps/auth/views.py index ff7a932..edff910 100644 --- a/meetingtools/apps/auth/views.py +++ b/meetingtools/apps/auth/views.py @@ -52,7 +52,7 @@ def _is_member_or_employee(user): def logout(request): auth.logout(request) post_logout= "/" - if hasattr(settings,'POST_LOGOUT'): + if hasattr(settings, 'POST_LOGOUT'): post_logout = settings.POST_LOGOUT return HttpResponseRedirect(post_logout) diff --git a/meetingtools/settings.py b/meetingtools/settings.py index c50947d..761e162 100644 --- a/meetingtools/settings.py +++ b/meetingtools/settings.py @@ -153,6 +153,8 @@ AUTH_PROFILE_MODULE = "userprofile.UserProfile" LOGIN_URL = '/saml2/sp/login/' LOGIN_REDIRECT_URL = "/rooms" +POST_LOGOUT = '/Shibboleth.sso/Logout' + AUTO_REMOTE_SUPERUSERS = ['leifj@nordu.net'] #try: |