Do not clear local storage on log out

This commit is contained in:
Thibaut Girka 2018-09-11 17:00:22 +02:00
parent 4dd208f482
commit 19de7be7e6

View file

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