set a different SESSION_COOKIE_NAME to avoid conflict
This commit is contained in:
parent
78e274addf
commit
db45b01ddd
|
@ -55,6 +55,9 @@ def create_app() -> Flask:
|
||||||
|
|
||||||
app.config["TEMPLATES_AUTO_RELOAD"] = True
|
app.config["TEMPLATES_AUTO_RELOAD"] = True
|
||||||
|
|
||||||
|
# to avoid conflict with other cookie
|
||||||
|
app.config["SESSION_COOKIE_NAME"] = "slapp"
|
||||||
|
|
||||||
init_extensions(app)
|
init_extensions(app)
|
||||||
register_blueprints(app)
|
register_blueprints(app)
|
||||||
set_index_page(app)
|
set_index_page(app)
|
||||||
|
|
Loading…
Reference in a new issue