change customer logout route method

This commit is contained in:
harshjagad20
2022-02-11 09:51:41 +05:30
parent 2b7028b7c8
commit e8a88dbad3

View File

@ -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();
});