Commit Graph

1 Commits (1d04e8641d4abab6ce978bc2dc5523c2ddb2f628)

Author SHA1 Message Date
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.