mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
fix
This commit is contained in:
@@ -60,7 +60,12 @@ class NotifyAdminAPIClient(BaseAPIClient):
|
|||||||
still_signing_in = False
|
still_signing_in = False
|
||||||
for arg in args:
|
for arg in args:
|
||||||
arg = str(arg)
|
arg = str(arg)
|
||||||
if "get-login-gov-user" in arg or "user/email" in arg or "/activate" or "/email-code" 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
|
still_signing_in = True
|
||||||
# TODO: Update this once E2E tests are managed by a feature flag or some other main config option.
|
# 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"):
|
if os.getenv("NOTIFY_E2E_TEST_EMAIL"):
|
||||||
|
|||||||
Reference in New Issue
Block a user