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"