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.
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.
1 year ago
..
source Fix accidental overwriting of LDAP team memberships (#24050) 1 year ago
auth.go Refactor cookie (#24107) 1 year ago
auth_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
basic.go Implement actions (#21937) 2 years ago
group.go refactor auth interface to return error when verify failure (#22119) 2 years ago
httpsign.go refactor auth interface to return error when verify failure (#22119) 2 years ago
interface.go refactor auth interface to return error when verify failure (#22119) 2 years ago
middleware.go Map OIDC groups to Orgs/Teams (#21441) 1 year ago
oauth2.go Implement actions (#21937) 2 years ago
reverseproxy.go Add context cache as a request level cache (#22294) 1 year ago
session.go refactor auth interface to return error when verify failure (#22119) 2 years ago
signin.go Implement FSFE REUSE for golang files (#21840) 2 years ago
source.go Implement FSFE REUSE for golang files (#21840) 2 years ago
sspi_windows.go Refactor cookie (#24107) 1 year ago
sync.go Implement FSFE REUSE for golang files (#21840) 2 years ago