forked from rDrama/rDrama
temporary email change for WPD to mitigate a whoopsie i did
parent
04e47017c1
commit
1a5a69c93c
|
@ -45,12 +45,15 @@ app.config['MAIL_SERVER'] = 'smtp.gmail.com'
|
||||||
app.config['MAIL_PORT'] = 587
|
app.config['MAIL_PORT'] = 587
|
||||||
app.config['MAIL_USE_TLS'] = True
|
app.config['MAIL_USE_TLS'] = True
|
||||||
|
|
||||||
if environ.get("MAIL_USERNAME2") and random.random() < 0.5:
|
# if environ.get("MAIL_USERNAME2") and random.random() < 0.5:
|
||||||
app.config['MAIL_USERNAME'] = environ.get("MAIL_USERNAME2", "").strip()
|
# app.config['MAIL_USERNAME'] = environ.get("MAIL_USERNAME2", "").strip()
|
||||||
app.config['MAIL_PASSWORD'] = environ.get("MAIL_PASSWORD2", "").strip()
|
# app.config['MAIL_PASSWORD'] = environ.get("MAIL_PASSWORD2", "").strip()
|
||||||
else:
|
# else:
|
||||||
app.config['MAIL_USERNAME'] = environ.get("MAIL_USERNAME", "").strip()
|
# app.config['MAIL_USERNAME'] = environ.get("MAIL_USERNAME", "").strip()
|
||||||
app.config['MAIL_PASSWORD'] = environ.get("MAIL_PASSWORD", "").strip()
|
# app.config['MAIL_PASSWORD'] = environ.get("MAIL_PASSWORD", "").strip()
|
||||||
|
|
||||||
|
app.config['MAIL_USERNAME'] = environ.get("MAIL_USERNAME", "").strip()
|
||||||
|
app.config['MAIL_PASSWORD'] = environ.get("MAIL_PASSWORD", "").strip()
|
||||||
|
|
||||||
app.config['SETTINGS'] = {}
|
app.config['SETTINGS'] = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue