Remove debug-log when auth token cannot be found
This commit is contained in:
parent
b4982c4128
commit
9f76657603
@ -60,7 +60,7 @@ def find_user_in_db(user_info: dict, provider='blender-id') -> dict:
|
|||||||
email address.
|
email address.
|
||||||
|
|
||||||
Does NOT update the user in the database.
|
Does NOT update the user in the database.
|
||||||
|
|
||||||
:param user_info: Information (id, email and full_name) from the auth provider
|
:param user_info: Information (id, email and full_name) from the auth provider
|
||||||
:param provider: One of the supported providers
|
: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.
|
# Check the users to see if there is one with this Blender ID token.
|
||||||
db_token = find_token(token, oauth_subclient)
|
db_token = find_token(token, oauth_subclient)
|
||||||
if not db_token:
|
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
|
# 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
|
# 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
|
# passed via the HTTP header. We will get basic user info if the user
|
||||||
|
Loading…
x
Reference in New Issue
Block a user