mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
changed route method
This commit is contained in:
@ -42,7 +42,7 @@ Route::get('/modules/scripts/{script}', ScriptController::class);
|
||||
|
||||
Route::post('login', [LoginController::class, 'login']);
|
||||
|
||||
Route::get('auth/logout', function () {
|
||||
Route::post('auth/logout', function () {
|
||||
Auth::guard('web')->logout();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user