Fixed signup crashing becuase of extra field specified in constructor
This commit is contained in:
parent
75e7ad5994
commit
6d91fe8095
@ -55,7 +55,6 @@ def signup():
|
|||||||
return redirect("/signup")
|
return redirect("/signup")
|
||||||
|
|
||||||
database.create(Customer(
|
database.create(Customer(
|
||||||
0,
|
|
||||||
request.form['username'],
|
request.form['username'],
|
||||||
sha512(request.form['password'].encode()).hexdigest(), # Hashed as soon as it is recieved on the backend
|
sha512(request.form['password'].encode()).hexdigest(), # Hashed as soon as it is recieved on the backend
|
||||||
request.form['firstname'],
|
request.form['firstname'],
|
||||||
|
Loading…
Reference in New Issue
Block a user