0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-24 20:17:03 +01:00
gitea/routers/user
leonklingele 96b66e330b routers/user: ensure that decryption of cookie actually suceeds (#7363)
Previously, only the first return value of ctx.GetSuperSecureCookie
was used to check whether decryption of the auth cookie succeeded.
ctx.GetSuperSecureCookie also returns a second value, a boolean,
indicating success or not. That value should be checked first to
be on the safe side and not rely on internal logic of the encryption
and decryption blackbox.
2019-07-06 23:47:09 +08:00
..
setting
auth_openid.go
auth.go routers/user: ensure that decryption of cookie actually suceeds (#7363) 2019-07-06 23:47:09 +08:00
home_test.go
home.go
main_test.go
notification.go
oauth.go fix drone build bug (#7192) 2019-06-13 00:23:45 -04:00
profile.go