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>
This commit is contained in:
Roland Tannous 2026-03-30 23:23:34 +04:00 committed by GitHub
commit 4e1d2756d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 ────────────────────────────────────────────────────