mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-10 15:13:40 -05:00
Merge pull request #1761 from GSA/notify-compliance-46d
add another url for compliance #46
This commit is contained in:
@@ -58,6 +58,10 @@ class NotifyAdminAPIClient(BaseAPIClient):
|
||||
|
||||
def check_inactive_user(self, *args):
|
||||
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:
|
||||
arg = str(arg)
|
||||
if (
|
||||
@@ -66,6 +70,7 @@ class NotifyAdminAPIClient(BaseAPIClient):
|
||||
or "/activate" in arg
|
||||
or "/email-code" in arg
|
||||
or "/verify/code" in arg
|
||||
or "/user" in arg
|
||||
):
|
||||
still_signing_in = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user