From 31ef9f126da452cfa76cd2538a6a9e8ac0955596 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 7 Oct 2021 16:45:50 +0200 Subject: server: Remove password reminder debugging log messages. --- server.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'server.js') 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)) -- cgit v1.2.3