Explorar o código

Default should be yes

Jaap Marcus %!s(int64=4) %!d(string=hai) anos
pai
achega
51243cb958
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      func/syshealth.sh

+ 1 - 1
func/syshealth.sh

@@ -358,7 +358,7 @@ function syshealth_repair_system_config() {
     # Allow users to edit DNS templates
     # Allow users to edit DNS templates
     if [ -z "$POLICY_USER_EDIT_DNS_TEMPLATES" ]; then
     if [ -z "$POLICY_USER_EDIT_DNS_TEMPLATES" ]; then
         echo "[ ! ] Adding missing variable to hestia.conf: POLICY_USER_EDIT_DNS_TEMPLATES ('yes')"
         echo "[ ! ] Adding missing variable to hestia.conf: POLICY_USER_EDIT_DNS_TEMPLATES ('yes')"
-        $BIN/v-change-sys-config-value "POLICY_USER_EDIT_DNS_TEMPLATES" "no"
+        $BIN/v-change-sys-config-value "POLICY_USER_EDIT_DNS_TEMPLATES" "yes"
     fi
     fi
     # Allow users to edit web templates
     # Allow users to edit web templates
     if [ -z "$POLICY_USER_EDIT_WEB_TEMPLATES" ]; then
     if [ -z "$POLICY_USER_EDIT_WEB_TEMPLATES" ]; then