I want to prevent login after registration & I know its very easy & simple. By commenting single line we can do that. But my concern is I don't want to do this in Vendor's file.
public function register(Request $request)
{
$this->validator($request->all())->validate();
event(new Registered($user = $this->create($request->all())));
// $this->guard()->login($user);
return $this->registered($request, $user)
?: redirect($this->redirectPath());
}