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();
Add this two method to app\Http\Controllers\Auth\RegisterController.php
public function showRegistrationForm(){ return redirect('login'); } public function register(){ }