Let the prod instance of pagure over dist-git send emails

This commit is contained in:
Pierre-Yves Chibon 2017-08-08 18:52:24 +02:00
parent d15a0310ab
commit dc691a0f2d

View file

@ -11,7 +11,11 @@ ADMIN_SESSION_LIFETIME = timedelta(minutes=20)
SECRET_KEY='{{ distgit_pagure_secret_key }}'
SALT_EMAIL='{{ distgit_pagure_secret_salt_email }}'
{% if env == 'staging' %}
EMAIL_SEND = False
{% else %}
EMAIL_SEND = True
{% endif %}
# This is required so that login specifies https
PREFERRED_URL_SCHEME='https'