hotfix: session cookie name change from #554

Restore old behavior. Keep old cookies working.
This commit is contained in:
TLSM 2023-03-29 17:54:28 -04:00 committed by Ben Rog-Wilhelm
parent be952c2771
commit 1f7e7afad3

View file

@ -124,7 +124,7 @@ app.config.update({
"SECRET_KEY": SECRET_KEY,
"SERVER_NAME": SERVER_NAME,
"SEND_FILE_MAX_AGE_DEFAULT": 0 if app.debug else 3153600,
"SESSION_COOKIE_NAME": f'session_{SITE_ID}',
"SESSION_COOKIE_NAME": f'session_{SITE_ID.lower()}',
"VERSION": "1.0.0",
"MAX_CONTENT_LENGTH": MAX_CONTENT_LENGTH,
"SESSION_COOKIE_SECURE": SESSION_COOKIE_SECURE,