Stop printing credentials in the logfile.
This was nice for debugging, but could lead to security problems.
This commit is contained in:
parent
490b1eac1e
commit
e20fd76cab
1 changed files with 1 additions and 1 deletions
|
|
@ -615,7 +615,7 @@ function login(req, res, formdata) {
|
||||||
var reply = {"t": "l", "k": lkey, "u": username};
|
var reply = {"t": "l", "k": lkey, "u": username};
|
||||||
res.write(JSON.stringify(reply));
|
res.write(JSON.stringify(reply));
|
||||||
res.end();
|
res.end();
|
||||||
tslog("%s has logged in (key %s)", username, lkey);
|
tslog("%s has logged in", username);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* Launch the sqlickrypt utility to check the password. */
|
/* Launch the sqlickrypt utility to check the password. */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue