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/routers/user/setting
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
..
account.go Move macaron to chi (#14293) 3 years ago
account_test.go Move macaron to chi (#14293) 3 years ago
adopt.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
applications.go Move macaron to chi (#14293) 3 years ago
keys.go Move macaron to chi (#14293) 3 years ago
main_test.go Splitted the user settings code into several files to be more maintainable (#3968) 6 years ago
oauth2.go Move macaron to chi (#14293) 3 years ago
profile.go Add SameSite setting for cookies (#14900) 3 years ago
security.go load U2F js only on pages which need it (#11585) 3 years ago
security_openid.go Move macaron to chi (#14293) 3 years ago
security_twofa.go Move macaron to chi (#14293) 3 years ago
security_u2f.go Move macaron to chi (#14293) 3 years ago