removed unneeded comments

This commit is contained in:
kyle hoell
2020-12-07 21:06:22 -05:00
parent 1e28ba1951
commit 13dc080388
22 changed files with 0 additions and 82 deletions
-2
View File
@@ -251,7 +251,6 @@ userSchema.statics.findByCreds = async(email: string, password: string) => {
const isMatch = await bcrypt.compare(password, user.password);
if (!isMatch) {
console.log("incorrect password")
throw new Error("Incorrect password");
}
@@ -596,7 +595,6 @@ userSchema.methods.decryptS3Data = async function() {
userSchema.methods.generatePasswordResetToken = async function() {
console.log("generating reset password token")
const iv = crypto.randomBytes(16);
const user = this as UserInterface;