Skip to content

Commit 5526b5d

Browse files
committed
Change Cookie policy to SameSite: Lax
1 parent f90bc6e commit 5526b5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ pub async fn handle_login(
138138
Cookie::build(("nginx-auth", session_id))
139139
.path("/")
140140
.http_only(true)
141-
.same_site(cookie::SameSite::Strict)
141+
.same_site(cookie::SameSite::Lax)
142142
.expires(offset_dt)
143143
),
144144
"Login successful"

0 commit comments

Comments
 (0)