From 9f7665760347959a0b7677760b4d31ac71691f9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 16 Feb 2021 13:55:28 +0100 Subject: [PATCH] Remove debug-log when auth token cannot be found --- pillar/api/utils/authentication.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pillar/api/utils/authentication.py b/pillar/api/utils/authentication.py index 50ccdb56..e223a79e 100644 --- a/pillar/api/utils/authentication.py +++ b/pillar/api/utils/authentication.py @@ -60,7 +60,7 @@ def find_user_in_db(user_info: dict, provider='blender-id') -> dict: email address. Does NOT update the user in the database. - + :param user_info: Information (id, email and full_name) from the auth provider :param provider: One of the supported providers """ @@ -169,8 +169,6 @@ def validate_this_token(token, oauth_subclient=None): # Check the users to see if there is one with this Blender ID token. db_token = find_token(token, oauth_subclient) if not db_token: - log.debug('Token %r not found in our local database.', token) - # If no valid token is found in our local database, we issue a new # request to the Blender ID server to verify the validity of the token # passed via the HTTP header. We will get basic user info if the user