auth::routes only keep login not register code example Example: disable register laravel Auth::routes(['register' => false]);