forgejo/services/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.
2023-04-13 15:45:33 -04:00
..
source Fix accidental overwriting of LDAP team memberships (#24050) 2023-04-11 19:54:26 -04:00
auth.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
auth_test.go
basic.go
group.go
httpsign.go
interface.go
middleware.go
oauth2.go
reverseproxy.go
session.go
signin.go
source.go
sspi_windows.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
sync.go