FIX: Use a cookie to bypass the anon cache

This commit is contained in:
Robin Ward
2015-10-28 17:16:56 -04:00
parent db5379508e
commit a9823ab59a
2 changed files with 7 additions and 1 deletions

View File

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