mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
change customer logout route method
This commit is contained in:
@ -52,7 +52,7 @@ Route::post('auth/logout', function () {
|
|||||||
|
|
||||||
Route::post('/{company:slug}/customer/login', CustomerLoginController::class);
|
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();
|
Auth::guard('customer')->logout();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user