Let the prod instance of pagure over dist-git send emails
This commit is contained in:
parent
d15a0310ab
commit
dc691a0f2d
1 changed files with 4 additions and 0 deletions
|
@ -11,7 +11,11 @@ ADMIN_SESSION_LIFETIME = timedelta(minutes=20)
|
||||||
SECRET_KEY='{{ distgit_pagure_secret_key }}'
|
SECRET_KEY='{{ distgit_pagure_secret_key }}'
|
||||||
SALT_EMAIL='{{ distgit_pagure_secret_salt_email }}'
|
SALT_EMAIL='{{ distgit_pagure_secret_salt_email }}'
|
||||||
|
|
||||||
|
{% if env == 'staging' %}
|
||||||
EMAIL_SEND = False
|
EMAIL_SEND = False
|
||||||
|
{% else %}
|
||||||
|
EMAIL_SEND = True
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# This is required so that login specifies https
|
# This is required so that login specifies https
|
||||||
PREFERRED_URL_SCHEME='https'
|
PREFERRED_URL_SCHEME='https'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue