mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
FIX: Use a cookie to bypass the anon cache
This commit is contained in:
@ -57,6 +57,7 @@ class Users::OmniauthCallbacksController < ApplicationController
|
||||
complete_response_data
|
||||
|
||||
if provider && provider.full_screen_login
|
||||
cookies['_bypass_cache'] = true
|
||||
flash[:authentication_data] = @auth_result.to_client_hash.to_json
|
||||
redirect_to @origin
|
||||
else
|
||||
|
Reference in New Issue
Block a user