Skip to content

Commit

Permalink
Merge pull request maxcountryman#5 from alekzvik/patch-1
Browse files Browse the repository at this point in the history
Corrected docs typo.
  • Loading branch information
maxcountryman committed Mar 27, 2012
2 parents d3ba158 + 7872001 commit 16d5911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flaskext/bcrypt.py
Expand Up @@ -101,7 +101,7 @@ class Bcrypt(object):
prevent timing attacks. A simple utility method is provided for this::
candidate = 'secret'
bcrypt.check_password_hash(candidate, pw_hash)
bcrypt.check_password_hash(pw_hash, candidate)
If both the candidate and the existing password hash are a match
`check_password_hash` returns True. Otherwise, it returns False.
Expand Down

0 comments on commit 16d5911

Please sign in to comment.