diff --git a/app/controllers/users/omniauth_callbacks_controller.rb b/app/controllers/users/omniauth_callbacks_controller.rb index 1e1e76f29..55665e78d 100644 --- a/app/controllers/users/omniauth_callbacks_controller.rb +++ b/app/controllers/users/omniauth_callbacks_controller.rb @@ -17,7 +17,7 @@ class Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController authentication.user = current_user authentication.save else # Register new user from session - session["devise.omniauth_data"] = env["omniauth.auth"] + session["devise.omniauth_data"] = env["omniauth.auth"].except('extra') flash[:notice] = I18n.t "devise.omniauth_callbacks.register" redirect_to new_user_registration_url end