mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-18 02:34:08 +00: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