Skip to content

Commit

Permalink
webui: correct secure flag in cookie attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
picoHz committed Jan 22, 2024
1 parent 1342448 commit 139a397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taxy/src/admin/auth.rs
Expand Up @@ -78,7 +78,7 @@ pub async fn login(
warp::reply::json(&res),
"Set-Cookie",
&format!(
"token={}; HttpOnly; SameProxy=Strict; Secure",
"token={}; HttpOnly; SameSite=Strict; Secure",
state
.data
.lock()
Expand Down

0 comments on commit 139a397

Please sign in to comment.