From 2f0e20bc11369cbd21d25e1f69c47a70c227f0c9 Mon Sep 17 00:00:00 2001 From: Shiv Kumar Date: Tue, 19 Nov 2013 09:58:12 -0800 Subject: [PATCH] add session to auth hash in oauth complete method --- app/controllers/users/omniauth_callbacks_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/users/omniauth_callbacks_controller.rb b/app/controllers/users/omniauth_callbacks_controller.rb index b629228188b..a4842be3e79 100644 --- a/app/controllers/users/omniauth_callbacks_controller.rb +++ b/app/controllers/users/omniauth_callbacks_controller.rb @@ -32,6 +32,7 @@ class Users::OmniauthCallbacksController < ApplicationController def complete auth = request.env["omniauth.auth"] + auth[:session] = session authenticator = self.class.find_authenticator(params[:provider])