From 00f5749db39123a08bcc5d1b70e6a1afa121c930 Mon Sep 17 00:00:00 2001 From: Daisie Huang Date: Fri, 17 Jan 2025 16:38:51 -0800 Subject: [PATCH] Update auth.py --- src/authx/auth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/authx/auth.py b/src/authx/auth.py index bf64381..2ef7230 100644 --- a/src/authx/auth.py +++ b/src/authx/auth.py @@ -776,6 +776,7 @@ def add_pending_user_to_opa(user_token): return response, 201 # 201 created, to indicate that we added the user preapproved_users, status_code = list_preapproved_users_in_opa() + logger.debug(preapproved_users) if status_code == 200: if user_name in preapproved_users: return approve_pending_user_in_opa(user_name)