Redirect to / instead of the login page on successful login.

(imported from commit 9bb61dc48861c580baf170dbdbdc2564e177e8a5)
This commit is contained in:
Luke Faraone 2013-11-08 20:37:18 +00:00
parent 74b6a940e8
commit 046c2927ab
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ def remote_user_sso(request):
return maybe_send_to_registration(request, remote_user_to_email(user)) return maybe_send_to_registration(request, remote_user_to_email(user))
else: else:
login(request, user) login(request, user)
return HttpResponseRedirect(reverse('zerver.views.accounts_home')) return HttpResponseRedirect(reverse('zerver.views.home'))
def handle_openid_errors(request, issue, openid_response=None): def handle_openid_errors(request, issue, openid_response=None):
if issue == "Unknown user": if issue == "Unknown user":