mirror of
https://gitea.com/gitea/gitea-mirror.git
synced 2026-04-02 01:41:10 +00:00
There was a bug that the CSRF token wouldn't in 24h. This fix just does what the CSRF function comment says: If this request is a GET request, it will generate a new token. Then the CSRF token can be kept up-to-date.