mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-24 18:56:11 +01:00
96b66e330b
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. |
||
---|---|---|
.. | ||
setting | ||
auth.go | ||
auth_openid.go | ||
home.go | ||
home_test.go | ||
main_test.go | ||
notification.go | ||
oauth.go | ||
profile.go |