summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))