Merge pull request #1724 from GSA/notify-compliance-46d

add handling for 90 day email check
This commit is contained in:
Carlo Costino
2024-07-15 12:58:57 -04:00
committed by GitHub

View File

@@ -60,7 +60,12 @@ class NotifyAdminAPIClient(BaseAPIClient):
still_signing_in = False
for arg in args:
arg = str(arg)
if "get-login-gov-user" in arg or "user/email" in arg or "/activate" in arg:
if (
"get-login-gov-user" in arg
or "user/email" in arg
or "/activate" in arg
or "/email-code" in arg
):
still_signing_in = True
# TODO: Update this once E2E tests are managed by a feature flag or some other main config option.
if os.getenv("NOTIFY_E2E_TEST_EMAIL"):