Removed package-lock.json from root
This commit is contained in:
1 parent
d0426a598e
commit
ef8867658e
7 files changed
+81
-23
No files matched your search
@@ -50,7 +50,6 @@ UserSchema.pre("save", async function (next) {
|
||||
});
|
||||
|
||||
UserSchema.methods.comparePassword = function (submittedPassword) {
|
||||
console.log(submittedPassword, this.password);
|
||||
return bcrypt.compare(submittedPassword, this.password);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user