Auth::routes(['register' => false]);
Here is what the above code is Doing:
1. We’re using the auth()->routes() method to register the routes for the authentication system.
2. We’re passing an array to the method with the register key set to false. This will prevent the registration routes from being registered.