mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-10 07:22:16 +05:30
Merge pull request #3250 from iv-org/fix-cookies
This commit is contained in:
commit
19886f71f5
@ -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