Redirect on login fails in some cases
I don't quite get why yet, but in some cases, after logging in, the app stays on
/login and shows a blank page with the logged-in navbar. This happened to me in this exact situation:
- I started mongo, ICAT+ and the Data Portal at the same time.
- ICAT+ failed to connect to mongo (probably because the container hadn't finished starting up yet.
- The portal front-end opened up in Firefox and failed to sign-in (Sign in page with alert box).
- I started ICAT+ again.
- I clicked on "Sign in" => blank page with logged-in navbar and
/loginin the address bar.