Reduced noisy logging when auth tokens have expired.
This commit is contained in:
parent
d57bad36d5
commit
8d273de4d8
@ -59,7 +59,7 @@ def validate_create_user(blender_id_user_id, token, oauth_subclient_id):
|
||||
user_info, token_expiry = validate_token(blender_id_user_id, token, oauth_subclient_id)
|
||||
|
||||
if user_info is None:
|
||||
log.warning('Unable to verify token with Blender ID.')
|
||||
log.debug('Unable to verify token with Blender ID.')
|
||||
return None, None
|
||||
|
||||
# Blender ID can be queried without user ID, and will always include the
|
||||
@ -126,7 +126,7 @@ def validate_token(user_id, token, oauth_subclient_id):
|
||||
return None, None
|
||||
|
||||
if r.status_code != 200:
|
||||
log.info('Token invalid, HTTP status %i returned', r.status_code)
|
||||
log.debug('Token %s invalid, HTTP status %i returned', token, r.status_code)
|
||||
return None, None
|
||||
|
||||
resp = r.json()
|
||||
|
Loading…
x
Reference in New Issue
Block a user