Change the default username and password for flask-mail to None instead of empty string.
This commit is contained in:
parent
f9b8319835
commit
8b3184a7cb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Reference in a new issue