From d9103bc7824e01b9088769346c275cafc4c69c99 Mon Sep 17 00:00:00 2001 From: Luis Guzman Date: Oct 30 2018 13:45:50 +0000 Subject: Add EMAIL_SEND variable to pagure.cfg Allows to enable or disable sending emails from pagure using SMTP credentials. Default behavior is false. --- diff --git a/files/pagure.cfg.sample b/files/pagure.cfg.sample index b119a2b..c9e96ed 100644 --- a/files/pagure.cfg.sample +++ b/files/pagure.cfg.sample @@ -32,6 +32,9 @@ ADMIN_GROUP = ['sysadmin-main'] ### Hard-coded list of global admins PAGURE_ADMIN_USERS = [] +### Enables sending email using SMTP credentials. +EMAIL_SEND = False + ### The email address to which the flask.log will send the errors (tracebacks) EMAIL_ERROR = 'root@localhost'