1Laravel 5.7 introduced the following functionality:
2 Auth::routes(['register' => false]);
3
4The currently possible options here are:
5 Auth::routes([
6 'register' => false, // Registration Routes...
7 'reset' => false, // Password Reset Routes...
8 'verify' => false, // Email Verification Routes...
9 ]);
10
11For older Laravel versions just override showRegistrationForm() and
12register() methods in
13
14AuthController for Laravel 5.0 - 5.4
15Auth/RegisterController.php for Laravel 5.5
16
17public function showRegistrationForm()
18{
19 return redirect('login');
20}
21
22public function register()
23{
24
25}