Change the default username and password for flask-mail to None instead of empty string.

This commit is contained in:
Jake Moshenko 2014-11-21 12:32:30 -05:00
parent f9b8319835
commit 8b3184a7cb

View file

@ -59,8 +59,8 @@ class DefaultConfig(object):
MAIL_SERVER = ''
MAIL_USE_TLS = True
MAIL_PORT = 587
MAIL_USERNAME = ''
MAIL_PASSWORD = ''
MAIL_USERNAME = None
MAIL_PASSWORD = None
MAIL_DEFAULT_SENDER = 'support@quay.io'
MAIL_FAIL_SILENTLY = False
TESTING = True