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