Change cookie SameSite policy to Lax to fix login redirection issue
All checks were successful
Build MIPS Binary / build (push) Successful in 4m6s
All checks were successful
Build MIPS Binary / build (push) Successful in 4m6s
This commit is contained in:
@@ -74,7 +74,7 @@ pub async fn login_handler(
|
||||
let cookie = Cookie::build(("auth_token", token))
|
||||
.path("/")
|
||||
.http_only(true)
|
||||
.same_site(SameSite::Strict)
|
||||
.same_site(SameSite::Lax)
|
||||
.max_age(Duration::seconds(expires_in))
|
||||
.build();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user