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