mirror of
https://github.com/simple-login/app.git
synced 2025-02-23 23:34:05 +08:00
set a different SESSION_COOKIE_NAME to avoid conflict
This commit is contained in:
parent
78e274addf
commit
db45b01ddd
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue