hotfix: session cookie name change from #554
Restore old behavior. Keep old cookies working.
This commit is contained in:
parent
be952c2771
commit
1f7e7afad3
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue