JS: Mark a spurious alert

This commit is contained in:
Asger F
2025-02-12 15:33:17 +01:00
parent b54ff3b5b3
commit e91a046a17

View File

@@ -75,7 +75,7 @@
console.log(config);
var temp = { encryptedPassword: req.body.password };
console.log(temp.encryptedPassword); // OK - XXX
console.log(temp.encryptedPassword); // $ SPURIOUS: Alert[js/clear-text-logging]
var secret = password;
console.log(`pw: ${secret}`); // $ Alert[js/clear-text-logging]