summaryrefslogtreecommitdiff
path: root/meetingtools/apps
diff options
context:
space:
mode:
Diffstat (limited to 'meetingtools/apps')
-rw-r--r--meetingtools/apps/auth/views.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/meetingtools/apps/auth/views.py b/meetingtools/apps/auth/views.py
index ee23df3..fd1d22a 100644
--- a/meetingtools/apps/auth/views.py
+++ b/meetingtools/apps/auth/views.py
@@ -50,7 +50,11 @@ def _is_member_or_employee(user):
@never_cache
def logout(request):
auth.logout(request)
- return HttpResponseRedirect('/Shibboleth.sso/Logout')
+ post_logout= "/"
+ if hasattr(settings,'POST_LOGOUT'):
+ post_logout = settings.POST_LOGOUT
+
+ return HttpResponseRedirect(post_logout)
@never_cache
def login(request):