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