summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-10-07 16:45:50 +0200
committerTor Andersson <tor@ccxvii.net>2021-10-07 16:45:50 +0200
commit31ef9f126da452cfa76cd2538a6a9e8ac0955596 (patch)
tree73ddb6a6a99de1d96392fdd700704093935aa536
parentd5cc1a00b8c24f36041afe7f71df504194a970d6 (diff)
downloadserver-31ef9f126da452cfa76cd2538a6a9e8ac0955596.tar.gz
server: Remove password reminder debugging log messages.
-rw-r--r--server.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/server.js b/server.js
index fff6ee1..e69a5f7 100644
--- a/server.js
+++ b/server.js
@@ -413,10 +413,7 @@ app.post('/forgot_password', function (req, res) {
if (!token) {
sql_create_token.run(user.user_id);
token = sql_find_token.get(user.user_id);
- console.log("FORGOT - create and mail token", token);
mail_password_reset_token(user, token);
- } else {
- console.log("FORGOT - existing token - ignore request", token);
}
req.flash('message', "A password reset token has been sent to " + mail + ".");
if (is_email(mail))