Level 60
In your AppServiceProvider.php
RedirectIfAuthenticated::redirectUsing(fn () => route('your-route'));
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I want to ask, how to change home root, cause on middleware guest is always redirect to "/" is there any solution?
Please or to participate in this conversation.