Signup page now populates database correctly
This commit is contained in:
@@ -6,8 +6,11 @@ class Customer(User):
|
||||
|
||||
No additional properties are assigned to the customer
|
||||
'''
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
def __init__(self, id: int, username: str, email: str, firstname: str,
|
||||
lastname: str, phone: str, password: str, role: str):
|
||||
super().__init__(
|
||||
id, username, email, firstname, lastname, phone, password, role
|
||||
)
|
||||
|
||||
def login(self):
|
||||
print("Logging in as Customer")
|
||||
|
||||
Reference in New Issue
Block a user