You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/web/middleware
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.
2 years ago
..
binding.go Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 2 years ago
cookie.go Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 2 years ago
data.go Move middlewares to web/middleware (#14480) 3 years ago
flash.go format with gofumpt (#18184) 2 years ago
locale.go Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2 years ago
request.go Move middlewares to web/middleware (#14480) 3 years ago