"Laravel Filament Login Route POST Method Not Allowed on One PC Only (Works Elsewhere)"

What I am trying to do:
I'm working on a Laravel + Filament project and trying to access the admin login page (Filament default login). The project works perfectly on other PCs.

What I did:

Cloned the project on this machine

Ran composer install, php artisan migrate, and php artisan serve

The project starts correctly, and the routes are visible with php artisan route:list

However, when I try to log in using /admin/login, I get a "Method Not Allowed" error on POST

My issue/the error:
Whenever I try to submit the login form at /admin/login, I get this error:

Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
The POST method is not supported for route admin/login. Supported methods: GET, HEAD.

Code:
No custom route was written for /admin/login — I am relying on Filament's default authentication setup. I also confirmed that the route exists as GET|HEAD admin/login via php artisan route:list, but no POST route is defined for it on this machine.

🧩 The weird part is that this only happens on this specific PC, while everything works perfectly on others (same project, cloned with Git).
Screenshot_from_2025-05-16_02-28-23.png
Was this page helpful?