remove console log

This commit is contained in:
Alex Holliday
2025-07-31 09:18:12 -07:00
parent 54d3392cf1
commit 927e8a88b8

View File

@@ -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");
}