Permalink
Browse files

Use from_config_file in doc example

  • Loading branch information...
DasIch committed Apr 3, 2013
1 parent 0b20858 commit 4266e962d881825c2431a5d109a4bfb88b213a5e
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/index.rst
View
@@ -8,7 +8,7 @@ on the fly::
from pwhash import PasswordHasher
- pwhasher = PasswordHasher.from_config(config)
+ pwhasher = PasswordHasher.from_config_file("pwhashc.json")
hash = pwhasher.create(u"password")
verified, new_hash = pwhasher.verify_and_upgrade(u"password", hash)
if verified:

0 comments on commit 4266e96

Please sign in to comment.