Merge remote-tracking branch 'upstream/pull/3078'

This commit is contained in:
Tom Hughes 2021-02-03 14:48:24 +00:00
commit 66b5e85845
9 changed files with 63 additions and 54 deletions

View file

@ -260,7 +260,7 @@ class UsersController < ApplicationController
elsif current_user.auth_provider.present?
# Verify external authenticator before moving on
session[:new_user] = current_user
redirect_to auth_url(current_user.auth_provider, current_user.auth_uid)
redirect_to auth_url(current_user.auth_provider, current_user.auth_uid), :status => :temporary_redirect
else
# Save the user record
session[:new_user] = current_user