upgrade flask-bcrypt to 0.7.1

this uses bcrypt directly rather than using the wrapper python-bcrypt.
WARNING! You'll need to update your local install by running:

```
pip uninstall python-bcrypt
pip install flask-bcrypt==0.7.1
```
This commit is contained in:
Leo Hemsted
2017-09-11 15:47:10 +01:00
parent 3309325cd3
commit 43bda1ae2c
2 changed files with 2 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ class Encryption:
def hashpw(password):
return generate_password_hash(password.encode('UTF-8'), 10)
return generate_password_hash(password.encode('UTF-8'), 10).decode('utf-8')
def check_hash(password, hashed_password):