mirror of https://github.com/go-gitea/gitea.git
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> |
||
|---|---|---|
| .. | ||
| advanced | ||
| developers | ||
| features | ||
| help | ||
| installation | ||
| translation | ||
| upgrade | ||
| usage | ||
| advanced.en-us.md | ||
| advanced.fr-fr.md | ||
| advanced.zh-cn.md | ||
| advanced.zh-tw.md | ||
| developers.en-us.md | ||
| developers.zh-tw.md | ||
| features.en-us.md | ||
| features.zh-cn.md | ||
| features.zh-tw.md | ||
| help.en-us.md | ||
| help.fr-fr.md | ||
| help.zh-cn.md | ||
| help.zh-tw.md | ||
| installation.en-us.md | ||
| installation.fr-fr.md | ||
| installation.zh-cn.md | ||
| installation.zh-tw.md | ||
| translation.de-de.md | ||
| translation.en-us.md | ||
| translation.zh-tw.md | ||
| upgrade.en-us.md | ||
| upgrade.fr-fr.md | ||
| upgrade.zh-cn.md | ||
| upgrade.zh-tw.md | ||
| usage.en-us.md | ||
| usage.zh-cn.md | ||
| usage.zh-tw.md | ||