set a different SESSION_COOKIE_NAME to avoid conflict

This commit is contained in:
Son NK 2019-08-06 12:54:32 +02:00
parent 78e274addf
commit db45b01ddd
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@ def create_app() -> Flask:
app.config["TEMPLATES_AUTO_RELOAD"] = True
# to avoid conflict with other cookie
app.config["SESSION_COOKIE_NAME"] = "slapp"
init_extensions(app)
register_blueprints(app)
set_index_page(app)