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:
parent
d4b34a3ce5
commit
4e1d2756d7
1 changed files with 1 additions and 3 deletions
|
|
@ -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 ────────────────────────────────────────────────────
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue