make admin console web interface disabled by default #29

Merged
stevensting merged 4 commits from admin-enable into main 2026-11-30 15:47:39 +00:00
3 changed files with 6 additions and 2 deletions
+4
View File
@@ -2,8 +2,12 @@ TYPE=collabora
DOMAIN=collabora.example.com
LETS_ENCRYPT_ENV=production
NEXTCLOUD_DOMAIN=nextcloud.example.com
# admin web interface is disabled by default
ADMIN_ENABLED=false
ADMIN_USERNAME=admin
SECRET_ADMIN_PASSWORD_VERSION=v1
FRAME_ANCESTORS=
DICTIONARIES=de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT
# here you can add additional env vars in case it is necessary for your instance
+1 -1
View File
@@ -1 +1 @@
export COOLWSD_XML_VERSION=v4
export COOLWSD_XML_VERSION=v5
+1 -1
View File
@@ -337,7 +337,7 @@
</storage>
<admin_console desc="Web admin console settings.">
<enable desc="Enable the admin console functionality" type="bool" default="true">true</enable>
<enable desc="Enable the admin console functionality" type="bool" default="false">{{ env "ADMIN_ENABLED" }}</enable>
<enable_pam desc="Enable admin user authentication with PAM" type="bool" default="false">false</enable_pam>
<username desc="The username of the admin console. Ignored if PAM is enabled.">{{ env "ADMIN_USERNAME" }}</username>
<password desc="The password of the admin console. Deprecated on most platforms. Instead, use PAM or coolconfig to set up a secure password.">{{ secret "admin_password" }}</password>