gitea/services/auth
wxiaoguang 5b9557aef5
Refactor cookie ()
Close 

At the beginning, I just wanted to fix the warning mentioned by 

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.
..
source
auth.go Refactor cookie ()
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 ()
sync.go