aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-01-26 21:08:19 +0100
committerlonkaars <l.leblansch@gmail.com>2021-01-26 21:08:19 +0100
commit40098fd7f262ee4399b490e2fb7f5448bca948c5 (patch)
treedb19a323f35569987d73cddac0d62ca4a87cb27f /api
parentf1d88fef2107f0d62ed0ab9d01bc97cb057e1d39 (diff)
database manager (school assignment)
Diffstat (limited to 'api')
-rw-r--r--api/passwords.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/passwords.py b/api/passwords.py
index 011400e..e2ae552 100644
--- a/api/passwords.py
+++ b/api/passwords.py
@@ -7,4 +7,4 @@ def check_password(password, password_hash):
return bcrypt.checkpw(enc(password), password_hash)
def password_hash(password):
- return bcrypt.hashpw(enc(password), bcrypt.gensalt());
+ return bcrypt.hashpw(enc(password), bcrypt.gensalt())