0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 17:08:22 +01:00
gitea/modules/context
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
..
access_log.go Correct the access log format (#24085) 2023-04-13 21:14:06 +08:00
api_org.go
api_test.go
api.go
auth.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
captcha.go
context.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
csrf.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
form.go
org.go
package.go
pagination.go
permission.go
private.go
repo.go
response.go
utils.go
xsrf_test.go
xsrf.go