Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
changed route method
  • Loading branch information
HarshJagad20 committed Feb 11, 2022
1 parent e1e1157 commit 2b7028b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/web.php
Expand Up @@ -42,7 +42,7 @@

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

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

Expand Down

0 comments on commit 2b7028b

Please sign in to comment.