fix wrong comment

Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
Erik Krogh Kristensen
2022-05-31 08:38:03 +02:00
committed by GitHub
parent 63e637503d
commit 95fae8155e

View File

@@ -46,7 +46,7 @@ app.get('/rest/user/change-password', mkHandler());
function mkHandler() {
return (req, res) => {
const username = req.param('username'); // NOT OK - usernames are fine
const username = req.param('username'); // OK - usernames are fine
const currentPassword = req.param('current'); // NOT OK - password read
checkUser(username, currentPassword, (result) => {
res.send(result);