From 5fbf14560e6a2da7ce7ec093e8b6d4be88249ed9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20L=C3=B6fgren?= <viclo211@student.liu.se> Date: Sat, 22 May 2021 01:03:45 +0200 Subject: [PATCH] Remove some leftover print calls --- server/app/apis/auth.py | 2 -- server/app/apis/users.py | 1 - 2 files changed, 3 deletions(-) diff --git a/server/app/apis/auth.py b/server/app/apis/auth.py index 1075d5a6..c7e997a8 100644 --- a/server/app/apis/auth.py +++ b/server/app/apis/auth.py @@ -98,8 +98,6 @@ class AuthLogin(MethodView): # Otherwise if login was successful but the user is locked if item_user.locked: - print(item_user.locked) - print(now) # Check if locked is greater than now if item_user.locked.timestamp() > now.timestamp(): abort(http_codes.UNAUTHORIZED, f"Kontot låst, försök igen om {item_user.locked} timmar") diff --git a/server/app/apis/users.py b/server/app/apis/users.py index 4856e46c..08dd4e29 100644 --- a/server/app/apis/users.py +++ b/server/app/apis/users.py @@ -66,7 +66,6 @@ class Users(MethodView): @blp.response(http_codes.OK, UserSchema) def post(self, args): """ Creates a new user if the user does not already exist. """ - print(args) return dbc.add.user(**args) -- GitLab