From 1d458db316ac3ed48a79917cdce2142e4fd69a83 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Wed, 27 Dec 2023 11:14:46 -0800 Subject: [PATCH] fix: print removed --- backend/apps/web/models/auths.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/backend/apps/web/models/auths.py b/backend/apps/web/models/auths.py index 99a7567e..c066dbef 100644 --- a/backend/apps/web/models/auths.py +++ b/backend/apps/web/models/auths.py @@ -86,11 +86,9 @@ class AuthsTable: **{"id": id, "email": email, "password": password, "active": True} ) result = Auth.create(**auth.model_dump()) - print(result) user = Users.insert_new_user(id, name, email, role) - print(result, user) if result and user: return user else: @@ -100,15 +98,9 @@ class AuthsTable: print("authenticate_user", email) try: auth = Auth.get(Auth.email == email, Auth.active == True) - print(auth.email) - if auth: - print(password, str(auth.password)) - print(verify_password(password, str(auth.password))) if verify_password(password, auth.password): user = Users.get_user_by_id(auth.id) - - print(user) return user else: return None