From 58be81bd9a544c53e2650c98a446d8f728e4814f Mon Sep 17 00:00:00 2001 From: Pol Date: Tue, 17 Jun 2025 20:38:31 +0200 Subject: [PATCH] Fix login Method Not Allowed error by registering missing service providers The dashboard login was failing with "Method Not Allowed" error because Cachet's service providers were not properly registered in Laravel 11's bootstrap/providers.php file. This caused Filament authentication routes to not be loaded, resulting in only GET routes being available for login. This commit adds the missing CachetCoreServiceProvider and CachetDashboardServiceProvider to the providers array, which resolves the login functionality and ensures all Filament routes are properly registered. Fixes #4533 --- bootstrap/providers.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstrap/providers.php b/bootstrap/providers.php index 5631c1ed..92defc2a 100644 --- a/bootstrap/providers.php +++ b/bootstrap/providers.php @@ -11,4 +11,6 @@ return [ App\Providers\AppServiceProvider::class, + Cachet\CachetCoreServiceProvider::class, + Cachet\CachetDashboardServiceProvider::class, ];