From c8b789367fce40611d88581513904d00753408ac Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Fri, 29 May 2015 16:54:05 +0200 Subject: [PATCH] dicos/50_gogs.xml: Cacher la variable gogs_mail_from si gogs_mail = 'non' --- dicos/50_gogs.xml | 4 ++++ tmpl/gogs.conf | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dicos/50_gogs.xml b/dicos/50_gogs.xml index 181933a..be2d138 100644 --- a/dicos/50_gogs.xml +++ b/dicos/50_gogs.xml @@ -60,6 +60,10 @@ + + non + gogs_mail_from + non gogs diff --git a/tmpl/gogs.conf b/tmpl/gogs.conf index 24917b4..7bd757e 100644 --- a/tmpl/gogs.conf +++ b/tmpl/gogs.conf @@ -110,7 +110,7 @@ SKIP_TLS_VERIFY = false %if %%getVar('gogs_mail','non') == 'oui' [mailer] -ENABLED = false +ENABLED = true ; Buffer length of channel, keep it as it is if you don't know what it is. SEND_BUFFER_LEN = 10 ; Name displayed in mail title