From 4046552b6f5cc1cf76ce8bf333e04e16c59febca Mon Sep 17 00:00:00 2001 From: tranzystorekk Date: Mon, 26 Aug 2024 08:13:38 +0200 Subject: [PATCH] fix: use correct setting key for AllowCommands --- src/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.go b/src/config.go index 711acfb..3181e56 100644 --- a/src/config.go +++ b/src/config.go @@ -31,7 +31,7 @@ type config struct { HideEnterLogin bool `config:"HIDE_ENTER_LOGIN" parser:"ParseBool" default:"false"` HideEnterPassword bool `config:"HIDE_ENTER_PASSWORD" parser:"ParseBool" default:"false"` AutoSelection bool `config:"AUTO_SELECTION" parser:"ParseBool" default:"false"` - AllowCommands bool `config:"IDENTIFY_ENVS" parser:"ParseBool" default:"true"` + AllowCommands bool `config:"ALLOW_COMMANDS" parser:"ParseBool" default:"true"` DefaultSessionEnv enEnvironment `config:"DEFAULT_SESSION_ENV" parser:"ParseEnv" default:""` AutologinSessionEnv enEnvironment `config:"AUTOLOGIN_SESSION_ENV" parser:"ParseEnv" default:""` Logging enLogging `config:"LOGGING" parser:"ParseLogging" default:"rotate"`