Skip to content

Commit

Permalink
Fix merge e2dbddd
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien-powl committed Mar 20, 2020
1 parent 7816a41 commit edd9c61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/settings.py.sample
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@ CELERY_ACKS_LATE = True


# Email settings
EMAIL_USE_TLS = os.environ.get('EMAIL_USE_TLS', True)
#EMAIL_USE_TLS = os.environ.get('EMAIL_USE_TLS', False).lower() == 'true' # when port is 587
#EMAIL_USE_SSL = os.environ.get('EMAIL_USE_SSL', False).lower() == 'true' # when port is 465
#EMAIL_USE_TLS = os.environ.get('EMAIL_USE_TLS', True)
EMAIL_USE_TLS = os.environ.get('EMAIL_USE_TLS', False) # when port is 587
EMAIL_USE_SSL = os.environ.get('EMAIL_USE_SSL', False) # when port is 465
EMAIL_HOST = os.environ.get('EMAIL_HOST', 'smtp.gmail.com')
EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER', 'test@gmail.com')
EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD', 'test')
Expand Down

0 comments on commit edd9c61

Please sign in to comment.