Unauthenticated exception thrown instead of a login page
The path is set to '/' in the AppPanelProvider config. There is one panel.
If I visit the base url of my app, e.g. http://labman (it is hosted on my local dev box, but I can provide a link to a staging site) while I am logged in, everything works as expected, i.e the dashboard is displayed.
If I visit the login route, e.g. http://labman/login everything works as expected - I can log in, and I am redirected to the dashboard.
However, if I visit the base domain while not logged in, I get an "Unauthenticated" error instead of the login page, which is what I expect.
Flare link: https://flareapp.io/share/17WJD3DP
Solution:Jump to solution
I don't know if this is very elegant, but it is how I resolved my issue:
```
<?php
...
1 Reply
Solution
I don't know if this is very elegant, but it is how I resolved my issue:
and