You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/context
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>
3 years ago
..
access_log.go Fix access log (#14475) 3 years ago
api.go Move middlewares to web/middleware (#14480) 3 years ago
api_org.go Golint fixed for modules/context 8 years ago
api_test.go fix API link header (#7298) 5 years ago
auth.go Add SameSite setting for cookies (#14900) 3 years ago
captcha.go Fix captcha (#14488) 3 years ago
context.go Add SameSite setting for cookies (#14900) 3 years ago
csrf.go Add SameSite setting for cookies (#14900) 3 years ago
form.go Move macaron to chi (#14293) 3 years ago
org.go Update docs and comments to remove macaron (#14491) 3 years ago
pagination.go [Feature] add precise search type for Elastic Search (#12869) 3 years ago
permission.go Update docs and comments to remove macaron (#14491) 3 years ago
private.go Update docs and comments to remove macaron (#14491) 3 years ago
repo.go Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 3 years ago
response.go Fix access log (#14475) 3 years ago
secret.go Move macaron to chi (#14293) 3 years ago
xsrf.go Move macaron to chi (#14293) 3 years ago
xsrf_test.go Move macaron to chi (#14293) 3 years ago