1
0
Fork 0
forked from OpenNeo/impress

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 5b738f5930
commit 9ad464a7f7

View file

@ -1,3 +1,3 @@
# Be sure to restart your server when you modify this file. # 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'