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