Jaap Marcus 5 лет назад
Родитель
Сommit
8607b72b8b
3 измененных файлов с 4 добавлено и 4 удалено
  1. 2 2
      func/upgrade.sh
  2. 1 1
      install/hst-install-debian.sh
  3. 1 1
      install/hst-install-ubuntu.sh

+ 2 - 2
func/upgrade.sh

@@ -146,8 +146,8 @@ upgrade_health_check() {
 
 
     # Inactive session timeout
     # Inactive session timeout
     if [ -z "$ALLOW_USERS_SYSTEM" ]; then
     if [ -z "$ALLOW_USERS_SYSTEM" ]; then
-        echo "[ ! ] Adding missing variable to hestia.conf: ALLOW_USERS_SYSTEM ('yes')"
-        $BIN/v-change-sys-config-value "ALLOW_USERS_SYSTEM" "yes"
+        echo "[ ! ] Adding missing variable to hestia.conf: ALLOW_USERS_SYSTEM ('no')"
+        $BIN/v-change-sys-config-value "ALLOW_USERS_SYSTEM" "no"
     fi    
     fi    
     
     
     echo "[ * ] Health check complete. Starting upgrade from $VERSION to $new_version..."
     echo "[ * ] Health check complete. Starting upgrade from $VERSION to $new_version..."

+ 1 - 1
install/hst-install-debian.sh

@@ -1095,7 +1095,7 @@ echo "LOGIN_STYLE='default'" >> $HESTIA/conf/hestia.conf
 echo "INACTIVE_SESSION_TIMEOUT='60'" >> $HESTIA/conf/hestia.conf
 echo "INACTIVE_SESSION_TIMEOUT='60'" >> $HESTIA/conf/hestia.conf
 
 
 # Allow users to always create domains even the are not the owner of the main domain
 # Allow users to always create domains even the are not the owner of the main domain
-echo "ALLOW_USERS_SYSTEM='yes'" >> $HESTIA/conf/hestia.conf
+echo "ALLOW_USERS_SYSTEM='no'" >> $HESTIA/conf/hestia.conf
 
 
 # Version & Release Branch
 # Version & Release Branch
 echo "VERSION='${HESTIA_INSTALL_VER}'" >> $HESTIA/conf/hestia.conf
 echo "VERSION='${HESTIA_INSTALL_VER}'" >> $HESTIA/conf/hestia.conf

+ 1 - 1
install/hst-install-ubuntu.sh

@@ -1128,7 +1128,7 @@ echo "LOGIN_STYLE='default'" >> $HESTIA/conf/hestia.conf
 echo "INACTIVE_SESSION_TIMEOUT='60'" >> $HESTIA/conf/hestia.conf
 echo "INACTIVE_SESSION_TIMEOUT='60'" >> $HESTIA/conf/hestia.conf
 
 
 # Allow users to always create domains even the are not the owner of the main domain
 # Allow users to always create domains even the are not the owner of the main domain
-echo "ALLOW_USERS_SYSTEM='yes'" >> $HESTIA/conf/hestia.conf
+echo "ALLOW_USERS_SYSTEM='no'" >> $HESTIA/conf/hestia.conf
 
 
 # Version & Release Branch
 # Version & Release Branch
 echo "VERSION='${HESTIA_INSTALL_VER}'" >> $HESTIA/conf/hestia.conf
 echo "VERSION='${HESTIA_INSTALL_VER}'" >> $HESTIA/conf/hestia.conf