mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
This reverts commit beaeb0c4b2ba0d273d7707d2fbc79feb63083a81.
This commit is contained in:
@ -74,10 +74,7 @@ class Users::OmniauthCallbacksController < ApplicationController
|
||||
@auth_result.authenticator_name = authenticator.name
|
||||
complete_response_data
|
||||
cookies['_bypass_cache'] = true
|
||||
cookies[:authentication_data] = {
|
||||
value: @auth_result.to_client_hash.to_json,
|
||||
path: Discourse.base_uri
|
||||
}
|
||||
cookies[:authentication_data] = @auth_result.to_client_hash.to_json
|
||||
redirect_to @origin
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user