projects
/
mudpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make command actions implicit
[mudpy.git]
/
mudpy
/
password.py
diff --git
a/mudpy/password.py
b/mudpy/password.py
index
f5638cb
..
a0be03e
100644
(file)
--- a/
mudpy/password.py
+++ b/
mudpy/password.py
@@
-1,6
+1,6
@@
"""Password hashing functions and constants for the mudpy engine."""
"""Password hashing functions and constants for the mudpy engine."""
-# Copyright (c) 2004-201
7
mudpy authors. Permission to use, copy,
+# Copyright (c) 2004-201
9
mudpy authors. Permission to use, copy,
# modify, and distribute this software is granted under terms
# provided in the LICENSE file distributed with this software.
# modify, and distribute this software is granted under terms
# provided in the LICENSE file distributed with this software.
@@
-12,7
+12,7
@@
_CONTEXT = passlib.context.CryptContext(
def create(password):
def create(password):
- return _CONTEXT.
encrypt
(password)
+ return _CONTEXT.
hash
(password)
def verify(password, encoded_hash):
def verify(password, encoded_hash):