Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 18:56:11 +01:00
forgejo/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 Add golangci (#6418) 2019-06-12 15:41:28 -04:00
auth.go routers/user: ensure that decryption of cookie actually suceeds (#7363) 2019-07-06 23:47:09 +08:00
auth_openid.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
home.go SearchRepositoryByName improvements and unification (#6897) 2019-05-15 11:24:39 -04:00
home_test.go hide issues from org private repos w/o team assignment (#4034) 2018-06-21 12:00:13 -04:00
main_test.go Unit tests for wiki routers (#3022) 2017-11-30 17:52:15 +02:00
notification.go Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00
oauth.go fix drone build bug (#7192) 2019-06-13 00:23:45 -04:00
profile.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00