This repository has been archived by the owner on Mar 10, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check cookie exists and subject on cookie before using
We were checking if we had a cookie, but not then checking if it was not empty, and the subject was not empty before using it for redirecting to the user's dashboard (If they navigated to / or /dashboard) Tested by deploying new dashboard, deleting cookie, setting cookie to empty string etc. All returned no error (but did show 401 not authorized) Signed-off-by: Alistair Hey <[email protected]>
- Loading branch information