1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-29 11:58:07 +08:00
Commit Graph

2 Commits

Author SHA1 Message Date
Lunny Xiao
86c85c19b6
Refactor AssertExistsAndLoadBean to use generics ()
* Refactor AssertExistsAndLoadBean to use generics

* Fix tests

Co-authored-by: zeripath <art27@cantab.net>
2022-08-16 10:22:25 +08:00
wxiaoguang
84ceaa98bd
Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. ()
Do a refactoring to the CSRF related code, remove most unnecessary functions.
Parse the generated token's issue time, regenerate the token every a few minutes.
2022-04-08 13:21:05 +08:00