Skip to content

Commit 2b7028b

Browse files
changed route method
1 parent e1e1157 commit 2b7028b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/web.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
Route::post('login', [LoginController::class, 'login']);
4444

45-
Route::get('auth/logout', function () {
45+
Route::post('auth/logout', function () {
4646
Auth::guard('web')->logout();
4747
});
4848

0 commit comments

Comments
 (0)