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