mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 08:38:59 +00:00
reduce rounds
This commit is contained in:
parent
3781a04965
commit
8cda8b371c
1 changed files with 1 additions and 1 deletions
2
webui.py
2
webui.py
|
@ -77,7 +77,7 @@ def do_signup():
|
|||
user_id = hashlib.sha256(request.form['email'].encode('utf-8')).digest()
|
||||
|
||||
pw_hashed = hashlib.sha256(request.form['password'].encode('utf-8')).digest()
|
||||
pw = bcrypt.hashpw(pw_hashed, bcrypt.gensalt(16))
|
||||
pw = bcrypt.hashpw(pw_hashed, bcrypt.gensalt(12))
|
||||
|
||||
# try to sign up
|
||||
c = mysql.connection.cursor()
|
||||
|
|
Loading…
Reference in a new issue