Can I use redirect login backend with getPrefix()

Published 4 days ago by dev.phpjs

In function unauthenticated of file App\Exceptions\Handler. I check prefix is admin and redirect to route admin/login?? use function

$request->route()->getPrefix()

Sign In or create a forum account to participate in this discussion.