switched to environment variable for config file lookup

This commit is contained in:
Joachim Lusiardi 2016-04-19 21:09:15 +02:00
parent 344db8d998
commit 9eb7ec7c8a
3 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ app.config['SECURITY_PASSWORD_HASH'] = 'pbkdf2_sha512'
app.config['SECURITY_PASSWORD_SALT'] = 'xxxxxxxxxxxxxxxxxxxxxx'
app.config['SECURITY_REGISTERABLE'] = True
app.config['SECURITY_EMAIL_SENDER'] = 'pitstops@lusiardi.de'
app.config.from_object('config.email')
app.config.from_envvar('config')
app.config.from_object(__name__)
mail = Mail(app)