Commit f1214f00 authored by Thibaut Girka's avatar Thibaut Girka

Do not clear local storage on log out

parent cd992556
...@@ -135,7 +135,7 @@ class Auth::SessionsController < Devise::SessionsController ...@@ -135,7 +135,7 @@ class Auth::SessionsController < Devise::SessionsController
# Should be '"*"' but that doen't work in Chrome (neither does '"executionContexts"') # 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 # 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 end
def continue_after? def continue_after?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment