gitea/modules/web/middleware
wxiaoguang 5b9557aef5
Refactor cookie (#24107)
Close #24062

At the beginning, I just wanted to fix the warning mentioned by #24062

But, the cookie code really doesn't look good to me, so clean up them.

Complete the TODO on `SetCookie`: 

> TODO: Copied from gitea.com/macaron/macaron and should be improved
after macaron removed.
2023-04-13 15:45:33 -04:00
..
binding.go Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
cookie.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
data.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
flash.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
locale.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
request.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00