aboutsummaryrefslogtreecommitdiff
path: root/api/passwords.py
diff options
context:
space:
mode:
authorLoek Le Blansch <32883851+lonkaars@users.noreply.github.com>2021-01-31 14:33:50 +0100
committerGitHub <noreply@github.com>2021-01-31 14:33:50 +0100
commit75255cd0085e4d7457a7af45e6192c6cfaf5e6e5 (patch)
treef3dd2503199729941355b662f3799b67e06f2485 /api/passwords.py
parentcd876e0e3000855cf407eee86b9a4d46e8875d91 (diff)
parent8de79c8869b254992e5c6df391c5ebd1e1da2f1a (diff)
Merge pull request #2 from lonkaars/nextjs
move from react routing thingy to next.js
Diffstat (limited to 'api/passwords.py')
-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())