Skip to content

Commit e772537

Browse files
Potential fix for code scanning alert no. 24: Clear-text logging of sensitive information
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Geoff House <geoffhouse@users.noreply.github.com>
1 parent 84c1609 commit e772537

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/modules/tsl-mdu/container/utils/basic-auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = async ({ host, username, password, timeout = 5000 }) => {
88
if (!host.includes("http://") || !host.includes("https://")) {
99
host = "http://" + host;
1010
}
11-
console.log(`${username}:${password}`);
11+
console.log(`Attempting authentication for user: ${username}`);
1212
response = await axios.get(host, {
1313
timeout: timeout,
1414
auth: {

0 commit comments

Comments
 (0)