Browse Source

Do not clear local storage on log out

closed-social-glitch-2
Thibaut Girka 6 years ago
parent
commit
f1214f00d9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/auth/sessions_controller.rb

+ 1
- 1
app/controllers/auth/sessions_controller.rb View File

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

Loading…
Cancel
Save