I found it in
vendor\laravel\framework\src\Illuminate\Foundation\Auth\AuthenticatesUsers.php
It is not recommended to edit anything in your vendor's folder because if you move your app to a different server or upgrade the framework to a new version. But if you're fine with that risk, just change the redirect path to your preferred URL.
/**
* Log the user out of the application.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function logout(Request $request)
{
$this->guard()->logout();
$request->session()->invalidate();
return redirect('/');
}
You can also override it via AuthController (recommended). Just add this property:
protected $redirectAfterLogout = 'auth/login';