From 5e5c7c4c7a932127086e5a0c976c39626a6a3eec Mon Sep 17 00:00:00 2001 From: Aarnav Tale Date: Wed, 2 Apr 2025 10:16:34 -0400 Subject: [PATCH] fix: remove unreleased feature and ignore invalid keys in config --- app/server/config/schema.ts | 2 +- config.example.yaml | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/server/config/schema.ts b/app/server/config/schema.ts index 5b9be8a..df61966 100644 --- a/app/server/config/schema.ts +++ b/app/server/config/schema.ts @@ -75,7 +75,7 @@ export const headplaneConfig = type({ 'oidc?': oidcConfig, 'integration?': integrationConfig, headscale: headscaleConfig, -}).onDeepUndeclaredKey('reject'); +}).onDeepUndeclaredKey('delete'); export const partialHeadplaneConfig = type({ debug: stringToBool, diff --git a/config.example.yaml b/config.example.yaml index 02ad0d6..465730b 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -105,7 +105,3 @@ oidc: # This should point to your publicly accessibly URL # for your Headplane instance with /admin/oidc/callback redirect_uri: "http://localhost:3000/admin/oidc/callback" - - # Stores the users and their permissions for Headplane - # This is a path to a JSON file, default is specified below. - user_storage_file: "/var/lib/headplane/users.json"