Closed enelgy closed 3 years ago
When I log out, it throws an error ->"The GET method is not supported for this route. Supported methods: POST." I have set this in route-web.php - "Route::post('logout', 'Auth\LoginController@logout')->name('logout');" Any idea how to fix ?
changed to ::get and i had to use artisan make:auth
When I log out, it throws an error ->"The GET method is not supported for this route. Supported methods: POST." I have set this in route-web.php - "Route::post('logout', 'Auth\LoginController@logout')->name('logout');" Any idea how to fix ?