1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 17:42:39 +02:00
gitea/routers
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
..
api Fix admin team access mode value in team_unit table (#24012) 2023-04-13 21:06:10 +02:00
common
install Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
private
utils
web Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
init.go