I am trying to disable the register route on my application which is running in Laravel 5.4.
In my routes file, I have only the
Auth::routes();
Just overwrite your auth showRegistrationForm() method ( place this code inside your Auth/RegisterController )
public function showRegistrationForm(){
return redirect()->route('login');
}
I'm just redirecting my register route to the login route. Here you don't need to append or remove any other code