forked from rDrama/rDrama
1
0
Fork 0

I'm genuinely stupid

master
Aevann1 2022-09-01 22:53:25 +02:00
parent 083371f20f
commit eff9c29025
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@ app.config['MAIL_PORT'] = 587
app.config['MAIL_USE_TLS'] = True
if environ.get("MAIL_USERNAME2") and random.random() < 0.5:
app.config['MAIL_USERNAME2'] = environ.get("MAIL_USERNAME2", "").strip()
app.config['MAIL_PASSWORD2'] = environ.get("MAIL_PASSWORD2", "").strip()
app.config['MAIL_USERNAME'] = environ.get("MAIL_USERNAME2", "").strip()
app.config['MAIL_PASSWORD'] = environ.get("MAIL_PASSWORD2", "").strip()
else:
app.config['MAIL_USERNAME'] = environ.get("MAIL_USERNAME", "").strip()
app.config['MAIL_PASSWORD'] = environ.get("MAIL_PASSWORD", "").strip()