diff --git a/routes/web.php b/routes/web.php index 7cb68846..ac694513 100644 --- a/routes/web.php +++ b/routes/web.php @@ -52,7 +52,7 @@ Route::post('auth/logout', function () { Route::post('/{company:slug}/customer/login', CustomerLoginController::class); -Route::get('/{company:slug}/customer/logout', function () { +Route::post('/{company:slug}/customer/logout', function () { Auth::guard('customer')->logout(); });