Update install.sh to set default ip_logging value (#610)

This commit is contained in:
Leendert de Borst
2025-02-24 22:31:37 +01:00
committed by Leendert de Borst
parent a51621970d
commit 47c77ade02

View File

@@ -1566,6 +1566,7 @@ handle_install_version() {
set_smtp_tls_enabled || { printf "${RED}> Failed to set SMTP TLS${NC}\n"; exit 1; }
set_default_ports || { printf "${RED}> Failed to set default ports${NC}\n"; exit 1; }
set_public_registration || { printf "${RED}> Failed to set public registration${NC}\n"; exit 1; }
set_ip_logging || { printf "${RED}> Failed to set IP logging${NC}\n"; exit 1; }
# Only generate admin password if not already set
if ! grep -q "^ADMIN_PASSWORD_HASH=" "$ENV_FILE" || [ -z "$(grep "^ADMIN_PASSWORD_HASH=" "$ENV_FILE" | cut -d '=' -f2)" ]; then