EMAIL_HOST needs to be set but as a secret

This commit is contained in:
Martin Pépin 2017-10-25 22:05:14 +02:00
parent a07b5308a3
commit 40abe27e81
2 changed files with 2 additions and 0 deletions

View file

@ -31,6 +31,7 @@ def import_secret(name):
SECRET_KEY = import_secret("SECRET_KEY") SECRET_KEY = import_secret("SECRET_KEY")
ADMINS = import_secret("ADMINS") ADMINS = import_secret("ADMINS")
SERVER_EMAIL = import_secret("SERVER_EMAIL") SERVER_EMAIL = import_secret("SERVER_EMAIL")
EMAIL_HOST = import_secret("EMAIL_HOST")
DBNAME = import_secret("DBNAME") DBNAME = import_secret("DBNAME")
DBUSER = import_secret("DBUSER") DBUSER = import_secret("DBUSER")

View file

@ -1,6 +1,7 @@
SECRET_KEY = 'q()(zn4m63i%5cp4)f+ww4-28_w+ly3q9=6imw2ciu&_(5_4ah' SECRET_KEY = 'q()(zn4m63i%5cp4)f+ww4-28_w+ly3q9=6imw2ciu&_(5_4ah'
ADMINS = None ADMINS = None
SERVER_EMAIL = "root@vagrant" SERVER_EMAIL = "root@vagrant"
EMAIL_HOST = "localhost"
DBUSER = "cof_gestion" DBUSER = "cof_gestion"
DBNAME = "cof_gestion" DBNAME = "cof_gestion"