Invalidate old session cookies

The session format changed, so we change the session cookie name rather than have things crash about it! (I hope the actual prod behavior is to ignore bad cookies rather than crash? But I figure this is more reliable anyway.)
This commit is contained in:
Emi Matchu 2023-08-02 17:37:09 -07:00
parent eaf43128ba
commit 7d582be79a
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
# Be sure to restart your server when you modify this file.
OpenneoImpressItems::Application.config.session_store :cookie_store, key: '_openneo_impress_session'
OpenneoImpressItems::Application.config.session_store :cookie_store, key: '_openneo_impress_session_v2'