Skip to content

Commit

Permalink
Update user.model.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsanos authored Oct 1, 2017
1 parent 4f735fa commit 7a93b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/models/user.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ userSchema.method({
},

async passwordMatches(password) {
return await bcrypt.compare(password, this.password); // eslint-disable-line no-return-await
return bcrypt.compare(password, this.password);
},
});

Expand Down

0 comments on commit 7a93b38

Please sign in to comment.