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();
You could try this.
Route::match(['get', 'post'], 'register', function(){ return redirect('/'); });
Add those routes just below the Auth::routes() to override the default registration routes. Any request to the /register route will redirect to the baseUrl.
Auth::routes()
/register