Stop printing credentials in the logfile.

This was nice for debugging, but could lead to security problems.
This commit is contained in:
John "Elwin" Edwards 2015-01-31 18:13:24 -05:00
parent 490b1eac1e
commit e20fd76cab

View file

@ -615,7 +615,7 @@ function login(req, res, formdata) {
var reply = {"t": "l", "k": lkey, "u": username};
res.write(JSON.stringify(reply));
res.end();
tslog("%s has logged in (key %s)", username, lkey);
tslog("%s has logged in", username);
return;
}
/* Launch the sqlickrypt utility to check the password. */