I have the route as follows:
Route::group(['middleware' => 'guest'], function() {
Route::auth();
});
By clicking on logout, redirect me back to / home (as log in). On the other hand, if the Route :: auth (); I take it out of the middleware, it works perfect and closes session.
It's weird because in the LoginController I have the following:
public function __construct() {
$this->middleware('guest', ['except' => 'logout']);
}
and this would have to go.