Skip to content

Commit

Permalink
Fix os environ error
Browse files Browse the repository at this point in the history
  • Loading branch information
neoformit committed Jan 4, 2025
1 parent 024b5f2 commit f163db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
EMAIL_PORT = os.environ['MAIL_SMTP_PORT']
EMAIL_HOST_USER = os.getenv('MAIL_SMTP_USERNAME')
EMAIL_HOST_PASSWORD = os.getenv('MAIL_SMTP_PASSWORD')
EMAIL_USE_TLS = os.getenv('MAIL_USE_TLS').lower() in ('1', 'true')
EMAIL_USE_TLS = os.getenv('MAIL_USE_TLS', '').lower() in ('1', 'true')
EMAIL_FROM_ADDRESS = os.environ['MAIL_FROM_ADDRESS']
EMAIL_TO_ADDRESS = os.environ['MAIL_TO_ADDRESS']
SERVER_EMAIL = os.environ['MAIL_FROM_ADDRESS']
Expand Down

0 comments on commit f163db2

Please sign in to comment.