add session to auth hash in oauth complete method
This commit is contained in:
parent
67222ce8a0
commit
2f0e20bc11
|
@ -32,6 +32,7 @@ class Users::OmniauthCallbacksController < ApplicationController
|
||||||
|
|
||||||
def complete
|
def complete
|
||||||
auth = request.env["omniauth.auth"]
|
auth = request.env["omniauth.auth"]
|
||||||
|
auth[:session] = session
|
||||||
|
|
||||||
authenticator = self.class.find_authenticator(params[:provider])
|
authenticator = self.class.find_authenticator(params[:provider])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue