mirror of
https://github.com/zulip/zulip.git
synced 2026-07-18 21:04:19 +08:00
Actually log the user in when they authenticate via SSO
(imported from commit aa33e8781d08f7a2793a3738e44e09701122e10c)
This commit is contained in:
parent
fafa14db9a
commit
74b6a940e8
@ -486,6 +486,7 @@ def remote_user_sso(request):
|
||||
# user account exists. Send them over to the PreregistrationUser flow.
|
||||
return maybe_send_to_registration(request, remote_user_to_email(user))
|
||||
else:
|
||||
login(request, user)
|
||||
return HttpResponseRedirect(reverse('zerver.views.accounts_home'))
|
||||
|
||||
def handle_openid_errors(request, issue, openid_response=None):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user