From f1214f00d990612229c753d8657944a10b9bf8a1 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Tue, 11 Sep 2018 17:00:22 +0200 Subject: [PATCH] Do not clear local storage on log out --- app/controllers/auth/sessions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/auth/sessions_controller.rb b/app/controllers/auth/sessions_controller.rb index 19722364c3..f4401b3dda 100644 --- a/app/controllers/auth/sessions_controller.rb +++ b/app/controllers/auth/sessions_controller.rb @@ -135,7 +135,7 @@ class Auth::SessionsController < Devise::SessionsController # Should be '"*"' but that doen't work in Chrome (neither does '"executionContexts"') # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data - response.headers['Clear-Site-Data'] = '"cache", "cookies", "storage"' + response.headers['Clear-Site-Data'] = '"cache", "cookies"' end def continue_after?