mirror of https://github.com/zulip/zulip.git
Redirect to / instead of the login page on successful login.
(imported from commit 9bb61dc48861c580baf170dbdbdc2564e177e8a5)
This commit is contained in:
parent
74b6a940e8
commit
046c2927ab
|
@ -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":
|
||||||
|
|
Loading…
Reference in New Issue