From 927e8a88b83ac7ffc98b7fd0136534a4f67d4cce Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Thu, 31 Jul 2025 09:18:12 -0700 Subject: [PATCH] remove console log --- server/src/db/mongo/modules/recoveryModule.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/src/db/mongo/modules/recoveryModule.js b/server/src/db/mongo/modules/recoveryModule.js index d8d5b25c4..cc22306a3 100755 --- a/server/src/db/mongo/modules/recoveryModule.js +++ b/server/src/db/mongo/modules/recoveryModule.js @@ -50,14 +50,12 @@ class RecoveryModule { const user = await this.User.findOne({ email: recoveryToken.email }); if (user === null) { - console.log("WTF2"); throw new Error(this.stringService.dbUserNotFound); } const match = await user.comparePassword(newPassword); if (match === true) { - console.log("WTF"); throw new Error("Password cannot be the same as the old password"); }