about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-09-11 17:00:22 +0200
committerThibaut Girka <thib@sitedethib.com>2018-09-11 17:00:22 +0200
commitf1214f00d990612229c753d8657944a10b9bf8a1 (patch)
tree9e394b97c5eed95d85af3991d8df857c5a00f680 /app
parentcd99255698354f3b5ec1c0d5d9bc1b4fb9bffdf3 (diff)
Do not clear local storage on log out
Diffstat (limited to 'app')
-rw-r--r--app/controllers/auth/sessions_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/auth/sessions_controller.rb b/app/controllers/auth/sessions_controller.rb
index 19722364c..f4401b3dd 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?