Skip to content

Commit 973c283

Browse files
author
George
committed
revert changes to email verification, notification
1 parent f725ca6 commit 973c283

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

idc/settings.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,6 @@ def GET_BQ_COHORT_SETTINGS():
474474
ACCOUNT_USERNAME_REQUIRED = bool(os.environ.get('ACCOUNT_USERNAME_REQUIRED', 'False') == 'True')
475475
ACCOUNT_EMAIL_VERIFICATION = os.environ.get('ACCOUNT_EMAIL_VERIFICATION', 'mandatory').lower()
476476

477-
ACCOUNT_EMAIL_VERIFICATION = os.environ.get('ACCOUNT_EMAIL_VERIFICATION', 'none').lower()
478-
479477
ACCOUNT_EMAIL_SUBJECT_PREFIX = "[Imaging Data Commons] "
480478
ACCOUNTS_PASSWORD_EXPIRATION = os.environ.get('ACCOUNTS_PASSWORD_EXPIRATION',120) # Max password age in days
481479
ACCOUNTS_PASSWORD_HISTORY = os.environ.get('ACCOUNTS_PASSWORD_HISTORY', 5) # Max password history kept
@@ -517,9 +515,7 @@ def GET_BQ_COHORT_SETTINGS():
517515
# These settings allow use of MailGun as a simple API call
518516
EMAIL_SERVICE_API_URL = os.environ.get('EMAIL_SERVICE_API_URL', '')
519517
EMAIL_SERVICE_API_KEY = os.environ.get('EMAIL_SERVICE_API_KEY', '')
520-
#NOTIFICATION_EMAIL_FROM_ADDRESS = os.environ.get('NOTIFICATOON_EMAIL_FROM_ADDRESS', '[email protected]')
521-
522-
NOTIFICATION_EMAIL_FROM_ADDRESS = os.environ.get('NOTIFICATOON_EMAIL_FROM_ADDRESS', 'info@localhost')
518+
NOTIFICATION_EMAIL_FROM_ADDRESS = os.environ.get('NOTIFICATOON_EMAIL_FROM_ADDRESS', '[email protected]')
523519

524520
#########################
525521
# django-anymail #

0 commit comments

Comments
 (0)