Skip to content

Commit

Permalink
Typo fix in examples (#598)
Browse files Browse the repository at this point in the history
Typo fix in examples
  • Loading branch information
myselfjivan authored and recrsn committed May 3, 2018
1 parent 3fa97d5 commit 9f6f44f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -148,7 +148,7 @@ This is also compatible with `async/await`
async function checkUser(username, password) {
//... fetch user from a db etc.

const match = await password.compare(password, user.passwordHash);
const match = await bcrypt.compare(password, user.passwordHash);

if(match) {
//login
Expand Down

0 comments on commit 9f6f44f

Please sign in to comment.