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>
pull/480/head
greper 2025-07-30 13:25:36 +08:00 committed by GitHub
parent 3fc863561a
commit f0e4be3d38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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',