]> source.dussan.org Git - gitea.git/commit
Add missing SameSite settings for the i_like_gitea cookie (#16037)
authorzeripath <art27@cantab.net>
Mon, 31 May 2021 18:22:36 +0000 (19:22 +0100)
committerGitHub <noreply@github.com>
Mon, 31 May 2021 18:22:36 +0000 (14:22 -0400)
commitcbf30830d2e856504849930a2dab6ae999376c6b
tree25452450728ea985827be5537ddbb7158023027e
parent7a484c0788f14412bd0531fdd021b4b292145bc5
Add missing SameSite settings for the i_like_gitea cookie (#16037)

The i_like_gitea cookie appears to be missing the SameSite settings. I think they
were present at some point but may have been removed in a merge.

This PR ensures that they are set.

Fix #15972

Signed-off-by: Andrew Thornton <art27@cantab.net>
routers/api/v1/api.go
routers/routes/install.go
routers/routes/web.go