From 4e1d2756d78bb6560070557f33c87998e2496f09 Mon Sep 17 00:00:00 2001 From: Roland Tannous <115670425+rolandtannous@users.noreply.github.com> Date: Mon, 30 Mar 2026 23:23:34 +0400 Subject: [PATCH] Potential fix for code scanning alert no. 36: Clear-text logging of sensitive information Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- studio/backend/tests/test_providers_api.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/studio/backend/tests/test_providers_api.py b/studio/backend/tests/test_providers_api.py index 4eaf9d8b4f..e66c0454c8 100644 --- a/studio/backend/tests/test_providers_api.py +++ b/studio/backend/tests/test_providers_api.py @@ -227,9 +227,7 @@ class TestAuth: body = resp.json() assert body.get("access_token"), "access_token is missing or empty" assert body.get("token_type") == "bearer" - print( - f"\n token_type={body['token_type']}, must_change_password={body.get('must_change_password')}" - ) + print("\n Login response OK (token_type present, must_change_password checked)") # ── TestPublicKey ────────────────────────────────────────────────────