mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 08:15:00 +00:00
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
|
||||
auth = request.env["omniauth.auth"]
|
||||
auth[:session] = session
|
||||
|
||||
authenticator = self.class.find_authenticator(params[:provider])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user