UI: Redirect to login when unauthenticated and the page requires auth
Open
BTR
Register BO
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 62
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
### Description
Currently the app does not check if you are logged in or not. In order to add a beneficial owner / get any business data for that page you will need to be logged in. This should be a check / redirect in the middleware based on the page meta.
This will be tricky to simulate with the btr-main-app Cypress tests (all of the existing tests are unauthenticated so this will cause them to all fail)
Redirect to homepage login.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.