Skip to content

Commit

Permalink
Typo fix in examples (kelektiv#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 1fb9bb5 commit 73ef523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
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 73ef523

Please sign in to comment.