mirror of
https://gitee.com/gitea/gitea
synced 2026-01-11 01:55:48 +08:00
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.