make session cookie samesite=lax by default

This commit is contained in:
Lennart
2025-08-25 19:09:24 +02:00
parent f3a1f27caf
commit 2cf481d4e6
3 changed files with 9 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ use serde::{Deserialize, Serialize};
pub struct HttpConfig {
pub host: String,
pub port: u16,
pub session_cookie_samesite_strict: bool,
}
impl Default for HttpConfig {
@@ -14,6 +15,7 @@ impl Default for HttpConfig {
Self {
host: "0.0.0.0".to_owned(),
port: 4000,
session_cookie_samesite_strict: false,
}
}
}