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")
|
||||
|
||||
database.create(Customer(
|
||||
0,
|
||||
request.form['username'],
|
||||
sha512(request.form['password'].encode()).hexdigest(), # Hashed as soon as it is recieved on the backend
|
||||
request.form['firstname'],
|
||||
|
Loading…
Reference in New Issue
Block a user