diff --git a/routes/web.php b/routes/web.php index 0e2543685..7cb688469 100644 --- a/routes/web.php +++ b/routes/web.php @@ -42,7 +42,7 @@ Route::post('login', [LoginController::class, 'login']); -Route::get('auth/logout', function () { +Route::post('auth/logout', function () { Auth::guard('web')->logout(); });