The GET method is not supported for route logout. Supported methods: POST.
When log out of your account, the above error will be reported. We still can’t find where the BUG is caused。
used Livewire 3 and mary-ui
Back
•
Web.php
Route::post('/logout', [LogoutController::class, 'logout'])->name('logout');
•
In response to @adonyo
Thank you, I checked the routing and there is nothing wrong with it.