summaryrefslogtreecommitdiff
path: root/src/meetingtools/apps/auth/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/meetingtools/apps/auth/views.py')
-rw-r--r--src/meetingtools/apps/auth/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/meetingtools/apps/auth/views.py b/src/meetingtools/apps/auth/views.py
index cef309b..daeb09d 100644
--- a/src/meetingtools/apps/auth/views.py
+++ b/src/meetingtools/apps/auth/views.py
@@ -158,6 +158,8 @@ def accounts_login_federated(request):
# connect_api.add_remove_member(principal.get('principal-id'),group.get('principal-id'),True)
next = request.session.get("after_login_redirect", None)
+ if not next and request.GET.has_key('next'):
+ next = request.GET['']
if next is not None:
return redirect_to(next)
else: