minor updates
This commit is contained in:
@@ -96,7 +96,6 @@ def change_password(client_id:str, password:str, new_password:str): # Changes th
|
|||||||
return f"client_id: {client_id} is not found.", 404
|
return f"client_id: {client_id} is not found.", 404
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def login_user(email:str, password:str):
|
def login_user(email:str, password:str):
|
||||||
for client in session.query(Client).all():
|
for client in session.query(Client).all():
|
||||||
if client.email == email and client.password == password:
|
if client.email == email and client.password == password:
|
||||||
@@ -107,11 +106,6 @@ def logout_user():
|
|||||||
return "You have been logged out."
|
return "You have been logged out."
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
###############
|
###############
|
||||||
### Account ###
|
### Account ###
|
||||||
###############
|
###############
|
||||||
|
|||||||
Reference in New Issue
Block a user