You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
rawleyfowler
changed the title
Weird behaviour with requires and routes.
'requires' seemingly adds to all routes.
Aug 12, 2023
rawleyfowler
changed the title
'requires' seemingly adds to all routes.requires seemingly adds to all proceeding routes.
Aug 12, 2023
rawleyfowler
changed the title
requires seemingly adds to all proceeding routes.requires seemingly adds conditions to all proceeding routes.
Aug 12, 2023
Steps to reproduce the behavior
Expected behavior
I expect that adding the authenticated condition to
/
will not cause it to be added to/login
.Actual behavior
authenticated
is added to both routes. Causing a redirect loop when accessing/
, or/login
.If, however I move the order of the routes around, it works as expected.
Thanks.
The text was updated successfully, but these errors were encountered: