Nova RedirectIfAuthenticated
('nova.guest'
) middleware does not automatically apply custom guards
#6836
Labels
Description:
The Nova
Authenticate
middleware will fetch the customised Nova guard from the config before running its checks.The Nova
RedirectIfAuthenticated
does not do this, which leads to a loop, e.g./nova
->/nova/login
->/nova
-> ...Detailed steps to reproduce the issue on a fresh Nova installation:
web
, so you haveweb
then the new guardnova
NOVA_GUARD=nova
in.env
nova.guest
middleware/nova
and you should see the loopThe text was updated successfully, but these errors were encountered: