forked from midou/invidious
Set cookies to Lax
This commit is contained in:
parent
0c64a86ebe
commit
b55c1a35bf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user