From e8a88dbad34a8f293cf75237bcc9e7b8e7e07a2a Mon Sep 17 00:00:00 2001 From: harshjagad20 Date: Fri, 11 Feb 2022 09:51:41 +0530 Subject: [PATCH] change customer logout route method --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); });