From 91b16032e7235c2d87b6310ba6fb07014646f12b Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 5 May 2020 21:15:43 +0200 Subject: [PATCH] always disable mail configuration in the UI --- CHANGELOG.md | 4 ++-- README.md | 1 - overlay/etc/templates/config.php.tmpl | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31851b2..8fdcb3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,2 @@ -* INTERNAL - * use 127.0.0.1 for healthcheck instead of localhost +* ENHANCEMENT + * always disable mail configuration in the UI diff --git a/README.md b/README.md index 3dce673..0ac0103 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,6 @@ volumes: ```Shell KANBOARD_PLUGIN_INSTALLER=false KANBOARD_CACHE_DRIVER=memory -KANBOARD_MAIL_CONFIGURATION=true KANBOARD_MAIL_FROM= KANBOARD_MAIL_TRANSPORT=mail KANBOARD_MAIL_SMTP_HOSTNAME= diff --git a/overlay/etc/templates/config.php.tmpl b/overlay/etc/templates/config.php.tmpl index 990a5ef..522dec0 100644 --- a/overlay/etc/templates/config.php.tmpl +++ b/overlay/etc/templates/config.php.tmpl @@ -30,7 +30,7 @@ define('CACHE_DIR', '/var/www/app/data/cache'); define('FILES_DIR', '/var/www/app/data/files'); // Enable/disable email configuration from the user interface -define('MAIL_CONFIGURATION', {{ getenv "KANBOARD_MAIL_CONFIGURATION" "true" }}); +define('MAIL_CONFIGURATION', false); // E-mail address used for the "From" header (notifications) define('MAIL_FROM', '{{ getenv "KANBOARD_MAIL_FROM" }}');