]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/users_controller.rb
Update to Omniauth 2.x
[rails.git] / app / controllers / users_controller.rb
index b274b180849a480354ca4cc94c474786a098f220..a1129339eb71d7e0d5fe14a34f9a014a5d4b2eee 100644 (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