mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 12:18:25 -04:00
add another url for compliance #46
This commit is contained in:
@@ -58,6 +58,10 @@ class NotifyAdminAPIClient(BaseAPIClient):
|
|||||||
|
|
||||||
def check_inactive_user(self, *args):
|
def check_inactive_user(self, *args):
|
||||||
still_signing_in = False
|
still_signing_in = False
|
||||||
|
|
||||||
|
# TODO clean up and add testing etc.
|
||||||
|
# We really should be checking for exact matches
|
||||||
|
# and we only want to check the first arg
|
||||||
for arg in args:
|
for arg in args:
|
||||||
arg = str(arg)
|
arg = str(arg)
|
||||||
if (
|
if (
|
||||||
@@ -66,6 +70,7 @@ class NotifyAdminAPIClient(BaseAPIClient):
|
|||||||
or "/activate" in arg
|
or "/activate" in arg
|
||||||
or "/email-code" in arg
|
or "/email-code" in arg
|
||||||
or "/verify/code" in arg
|
or "/verify/code" in arg
|
||||||
|
or "/user" in arg
|
||||||
):
|
):
|
||||||
still_signing_in = True
|
still_signing_in = True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user