Commit 2556b11b authored by Stauros Kroustouris's avatar Stauros Kroustouris

redirect to settings.SHIB_LOGOUT_URL on logout

parent 40b790cd
......@@ -573,7 +573,8 @@ def overview(request):
@never_cache
def user_logout(request):
logout(request)
return HttpResponseRedirect(reverse('group-routes'))
return HttpResponseRedirect(settings.SHIB_LOGOUT_URL or reverse('group-routes'))
@never_cache
def load_jscript(request, file):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment