JS: Accept an alert

This commit is contained in:
Asger F
2025-02-12 15:31:52 +01:00
parent 576dbcb020
commit b54ff3b5b3

View File

@@ -4,7 +4,7 @@ var url = require('url');
var server = https.createServer(function(req, res) {
let pw = url.parse(req.url, true).query.current_password;
res.writeHead(200, {
'Set-Cookie': 'password=' + pw,
'Set-Cookie': 'password=' + pw, // $ Alert[js/clear-text-storage-of-sensitive-data]
'Content-Type': 'text/plain'
});
});