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.
gitea/routers/web/auth
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.
2 years ago
..
2fa.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
auth.go Refactor cookie (#24107) 2 years ago
linkaccount.go Add context cache as a request level cache (#22294) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
oauth.go Refactor cookie (#24107) 2 years ago
oauth_test.go Add context cache as a request level cache (#22294) 2 years ago
openid.go Refactor cookie (#24107) 2 years ago
password.go Refactor cookie (#24107) 2 years ago
webauthn.go Replace deprecated Webauthn library (#22400) 2 years ago