Set cookies to Lax

This commit is contained in:
Emilien Devos 2022-08-06 19:01:57 +02:00
parent 0c64a86ebe
commit b55c1a35bf
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ struct Invidious::User
expires: Time.utc + 2.years,
secure: SECURE,
http_only: true,
samesite: HTTP::Cookie::SameSite::Strict
samesite: HTTP::Cookie::SameSite::Lax
)
end
@ -32,7 +32,7 @@ struct Invidious::User
expires: Time.utc + 2.years,
secure: SECURE,
http_only: false,
samesite: HTTP::Cookie::SameSite::Strict
samesite: HTTP::Cookie::SameSite::Lax
)
end
end