mirror of https://github.com/certd/certd
Potential fix for code scanning alert no. 26: Clear-text logging of sensitive information (#480)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>v2
parent
be053d47e4
commit
58b7fbcf75
|
@ -54,7 +54,7 @@ async function login() {
|
||||||
'redirectTo': 'https://www.51dns.com/domain',
|
'redirectTo': 'https://www.51dns.com/domain',
|
||||||
'_token': _token
|
'_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({
|
const res2 = await instance.request({
|
||||||
url: 'https://www.51dns.com/login',
|
url: 'https://www.51dns.com/login',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
|
|
Loading…
Reference in New Issue