mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
feat: enable partitioned session cookies for enhanced security
This commit is contained in:
parent
7c71fe32f0
commit
35d61bb898
1 changed files with 1 additions and 0 deletions
|
|
@ -80,6 +80,7 @@ with app.app_context():
|
|||
app.config["SESSION_COOKIE_NAME"] = "__Host-bw_ui_session"
|
||||
app.config["SESSION_COOKIE_PATH"] = "/"
|
||||
app.config["SESSION_COOKIE_SECURE"] = True
|
||||
app.config["SESSION_COOKIE_PARTITIONED"] = True
|
||||
app.config["SESSION_COOKIE_HTTPONLY"] = True
|
||||
app.config["SESSION_COOKIE_SAMESITE"] = "Lax"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue