Use route instead

This commit is contained in:
Lance Pioch
2025-01-06 17:35:05 -05:00
parent e5418491c8
commit b197e73173
3 changed files with 3 additions and 3 deletions

View File

@@ -244,7 +244,7 @@ class Handler extends ExceptionHandler
return new JsonResponse($this->convertExceptionToArray($exception), JsonResponse::HTTP_UNAUTHORIZED);
}
return redirect()->guest('/login');
return redirect()->guest(route('filament.app.auth.login'));
}
/**