Skip to content

Commit 95fae81

Browse files
erik-kroghasgerf
andauthored
fix wrong comment
Co-authored-by: Asger F <[email protected]>
1 parent 63e6375 commit 95fae81

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/test/query-tests/Security/CWE-598

1 file changed

+1
-1
lines changed

javascript/ql/test/query-tests/Security/CWE-598/tst.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ app.get('/rest/user/change-password', mkHandler());
4646

4747
function mkHandler() {
4848
return (req, res) => {
49-
const username = req.param('username'); // NOT OK - usernames are fine
49+
const username = req.param('username'); // OK - usernames are fine
5050
const currentPassword = req.param('current'); // NOT OK - password read
5151
checkUser(username, currentPassword, (result) => {
5252
res.send(result);

0 commit comments

Comments
 (0)