From 6d0424eb826959ae10c515fcb35c48898c0edae5 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Mon, 21 Aug 2023 21:38:16 +0200 Subject: [PATCH] Fix some env flags --- main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 8ca07a1..4a034d2 100644 --- a/main.go +++ b/main.go @@ -27,7 +27,9 @@ func main() { configPath = strings.ReplaceAll(configPath, "~", userHome) runtimeConfig := config.RuntimeConfig{ - DisableAuth: os.Getenv("GOLDWARDEN_WEBSOCKET_DISABLED") == "true", + WebsocketDisabled: os.Getenv("GOLDWARDEN_WEBSOCKET_DISABLED") == "true", + DisableSSHAgent: os.Getenv("GOLDWARDEN_SSH_AGENT_DISABLED") == "true", + DisableAuth: os.Getenv("GOLDWARDEN_SYSTEM_AUTH_DISABLED") == "true", DisablePinRequirement: os.Getenv("GOLDWARDEN_PIN_REQUIREMENT_DISABLED") == "true", DoNotPersistConfig: os.Getenv("GOLDWARDEN_DO_NOT_PERSIST_CONFIG") == "true", ApiURI: os.Getenv("GOLDWARDEN_API_URI"),