From 8564b9d5d39dae96d978a2c514ef3c1d11858c4d Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 19 May 2015 16:42:39 +0200 Subject: [PATCH] Set the salt for email and to use when sending email from pagure --- roles/pagure/frontend/templates/pagure.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/pagure/frontend/templates/pagure.cfg b/roles/pagure/frontend/templates/pagure.cfg index 2d3af707f3..801d2ef29e 100644 --- a/roles/pagure/frontend/templates/pagure.cfg +++ b/roles/pagure/frontend/templates/pagure.cfg @@ -9,6 +9,7 @@ ADMIN_SESSION_LIFETIME = timedelta(minutes=20) ### Secret key for the Flask application SECRET_KEY='{{ pagure_secret_key }}' +SALT_EMAIL='{{ pagure_secret_salt_email }}' ### url to the database server: #DB_URL=mysql://user:pass@host/db_name @@ -27,8 +28,10 @@ SMTP_SERVER = 'localhost' ### Email used to sent emails {% if env == 'pagure-staging' %} FROM_EMAIL = 'pagure@stg.pagure.io' +DOMAIN_EMAIL_NOTIFICATIONS = 'stg.pagure.io' {% else %} FROM_EMAIL = 'pagure@pagure.io' +DOMAIN_EMAIL_NOTIFICATIONS = 'pagure.io' {% endif %} ### The URL at which the project is available.