diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-10-07 16:45:50 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-10-07 16:45:50 +0200 |
commit | 31ef9f126da452cfa76cd2538a6a9e8ac0955596 (patch) | |
tree | 73ddb6a6a99de1d96392fdd700704093935aa536 | |
parent | d5cc1a00b8c24f36041afe7f71df504194a970d6 (diff) | |
download | server-31ef9f126da452cfa76cd2538a6a9e8ac0955596.tar.gz |
server: Remove password reminder debugging log messages.
-rw-r--r-- | server.js | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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)) |