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. |
||
|---|---|---|
| .. | ||
| admin | ||
| api/v1 | ||
| dev | ||
| org | ||
| private | ||
| repo | ||
| routes | ||
| user | ||
| utils | ||
| home.go | ||
| init.go | ||
| install.go | ||
| metrics.go | ||
| swagger_json.go | ||