Back

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
image

2

342

In response to @yuan

Web.php
Route::post('/logout', [LogoutController::class, 'logout'])->name('logout');

1

51

  • No matching results...
  • Searching...

/ 1000

Thank you, I checked the routing and there is nothing wrong with it.

48