add session to auth hash in oauth complete method

This commit is contained in:
Shiv Kumar 2013-11-19 09:58:12 -08:00
parent 67222ce8a0
commit 2f0e20bc11
1 changed files with 1 additions and 0 deletions

View File

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