Commit Graph

1 Commits (54c0fe62ccaadb5e5b8e8ccf3245e5e6603ce6d1)

Author SHA1 Message Date
wxiaoguang 84ceaa98bd
Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337)
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.
3 years ago