0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 23:36:29 +01:00
gitea/routers
zeripath 9b261f52f0
Add SameSite setting for cookies (#14900)
Add SameSite setting for cookies and rationalise the cookie setting code. Switches SameSite to Lax by default. 

There is a possible future extension of differentiating which cookies could be set at Strict by default but that is for a future PR.

Fix #5583

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-03-07 08:12:43 +00:00
..
admin Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
api/v1 Make manual merge autodetection optional and add manual merge as merge method (#12543) 2021-03-03 22:41:23 -05:00
dev
events Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
org Organization removal confirmation using name not password (#14738) 2021-03-01 16:33:05 +02:00
private Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
repo Fix bug when combine label comments (#14894) 2021-03-05 16:17:32 +01:00
routes Add CORS config on to /login/oauth/access_token endpoint (#14850) 2021-03-04 03:25:30 +02:00
user Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00
utils Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 2021-02-19 22:36:43 +01:00
home.go Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00
init.go
install.go Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00
metrics.go
swagger_json.go