Set the salt for email and to use when sending email from pagure
This commit is contained in:
parent
f9bde14a32
commit
8564b9d5d3
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,7 @@ ADMIN_SESSION_LIFETIME = timedelta(minutes=20)
|
||||||
|
|
||||||
### Secret key for the Flask application
|
### Secret key for the Flask application
|
||||||
SECRET_KEY='{{ pagure_secret_key }}'
|
SECRET_KEY='{{ pagure_secret_key }}'
|
||||||
|
SALT_EMAIL='{{ pagure_secret_salt_email }}'
|
||||||
|
|
||||||
### url to the database server:
|
### url to the database server:
|
||||||
#DB_URL=mysql://user:pass@host/db_name
|
#DB_URL=mysql://user:pass@host/db_name
|
||||||
|
@ -27,8 +28,10 @@ SMTP_SERVER = 'localhost'
|
||||||
### Email used to sent emails
|
### Email used to sent emails
|
||||||
{% if env == 'pagure-staging' %}
|
{% if env == 'pagure-staging' %}
|
||||||
FROM_EMAIL = 'pagure@stg.pagure.io'
|
FROM_EMAIL = 'pagure@stg.pagure.io'
|
||||||
|
DOMAIN_EMAIL_NOTIFICATIONS = 'stg.pagure.io'
|
||||||
{% else %}
|
{% else %}
|
||||||
FROM_EMAIL = 'pagure@pagure.io'
|
FROM_EMAIL = 'pagure@pagure.io'
|
||||||
|
DOMAIN_EMAIL_NOTIFICATIONS = 'pagure.io'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
### The URL at which the project is available.
|
### The URL at which the project is available.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue