Actually log the user in when they authenticate via SSO

(imported from commit aa33e8781d08f7a2793a3738e44e09701122e10c)
This commit is contained in:
Luke Faraone 2013-11-08 20:36:33 +00:00
parent fafa14db9a
commit 74b6a940e8

View File

@ -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):