Updated login
This commit is contained in:
parent
61657d1b3d
commit
c7d9b24aa6
|
@ -161,7 +161,8 @@ def changepass():
|
||||||
def register():
|
def register():
|
||||||
# Get the form data
|
# Get the form data
|
||||||
username = request.form.get('username')
|
username = request.form.get('username')
|
||||||
password = request.form.get('passwordhash')
|
passwordhash = request.form.get('passwordhash')
|
||||||
|
password = request.form.get('password')
|
||||||
|
|
||||||
if passwordhash:
|
if passwordhash:
|
||||||
is_password_valid = verify_bcrypt(password_to_check, passwordhash)
|
is_password_valid = verify_bcrypt(password_to_check, passwordhash)
|
||||||
|
|
Loading…
Reference in New Issue