mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-10 03:14:19 -04:00
Merge pull request #1245 from alphagov/bcrypt
upgrade flask-bcrypt to 0.7.1
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user