disable user registration laravel 7 code example Example: disable register laravel Auth::routes(['register' => false]);