We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
null
1 parent 373e99b commit e85b236Copy full SHA for e85b236
pydatalab/src/pydatalab/feature_flags.py
@@ -79,11 +79,13 @@ def check_feature_flags(app):
79
)
80
FEATURE_FLAGS.email_notifications = False
81
82
- if CONFIG.EMAIL_DOMAIN_ALLOW_LIST and FEATURE_FLAGS.email_notifications:
+ if (
83
+ CONFIG.EMAIL_DOMAIN_ALLOW_LIST is None or CONFIG.EMAIL_DOMAIN_ALLOW_LIST
84
+ ) and FEATURE_FLAGS.email_notifications:
85
FEATURE_FLAGS.auth_mechanisms.email = True
86
else:
87
LOGGER.warning(
- "`CONFIG.EMAIL_DOMAIN_ALLOW_LIST` is usnet or empty; email registration will not be enabled."
88
+ "`CONFIG.EMAIL_DOMAIN_ALLOW_LIST` is unset or empty; email registration will not be enabled."
89
90
91
if CONFIG.IDENTIFIER_PREFIX == "test":
0 commit comments