diff --git a/server/app/apis/auth.py b/server/app/apis/auth.py index 1075d5a60d42d9694042c15072f9a0cf663d6c69..c7e997a85ca1fcf1b7eaf4f92b50c5412eda8e62 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 4856e46ca74160cd65a91abe31290750804dd527..08dd4e29f44d68a7ade2fce75ab34e5b9c585228 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)