Set the salt for email and to use when sending email from pagure

This commit is contained in:
Pierre-Yves Chibon 2015-05-19 16:42:39 +02:00
parent f9bde14a32
commit 8564b9d5d3

View file

@ -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.