/admin/logout set as post route
Closed this issue · 1 comments
rhessing commented
The /{guard}/logout is set to a post request and therefore a get request will not work. I've added a get request to the routes:
Route::get('admin/logout', 'AdminAuth\LoginController@logout');
Could it be a good idea to add this as an additional default route when a new guard is created?
Hesto commented
Logout should be post as default. Look at laravel basic layout and see how to logout.