From f0e4be3d386892a08ffda083c9ed1efb22b409d9 Mon Sep 17 00:00:00 2001 From: greper Date: Wed, 30 Jul 2025 13:25:36 +0800 Subject: [PATCH] Potential fix for code scanning alert no. 26: Clear-text logging of sensitive information Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- packages/ui/certd-server/test/plugins/51dns.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/certd-server/test/plugins/51dns.test.mjs b/packages/ui/certd-server/test/plugins/51dns.test.mjs index e068ff6e..56241d75 100644 --- a/packages/ui/certd-server/test/plugins/51dns.test.mjs +++ b/packages/ui/certd-server/test/plugins/51dns.test.mjs @@ -54,7 +54,7 @@ async function login() { 'redirectTo': 'https://www.51dns.com/domain', '_token': _token } - console.log(JSON.stringify(obj, null, 2)) + // console.log(JSON.stringify(obj, null, 2)) // Avoid logging sensitive data const res2 = await instance.request({ url: 'https://www.51dns.com/login', method: 'post',