summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Huot <JonathanHuot@users.noreply.github.com>2020-01-13 18:37:20 +0100
committerGitHub <noreply@github.com>2020-01-13 18:37:20 +0100
commita09a2ce979b886e81eb4e7fd3794ae4a050ff8fb (patch)
treeab18f9032447149cd4e30ec3232f774195fe2e74
parent794c9fb1305141903f4cd182d7d0aab959e86219 (diff)
parent45a3f40266cd8ee7759212915e6a474bf57ea4f4 (diff)
downloadoauthlib-a09a2ce979b886e81eb4e7fd3794ae4a050ff8fb.tar.gz
typo in log message for client_credentials (#711)
typo in log message for client_credentials
-rw-r--r--oauthlib/oauth2/rfc6749/grant_types/client_credentials.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py b/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py
index fdb0bf6..05f13af 100644
--- a/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py
+++ b/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py
@@ -117,8 +117,8 @@ class ClientCredentialsGrant(GrantTypeBase):
# Ensure client is authorized use of this grant type
self.validate_grant_type(request)
- log.debug('Authorizing access to user %r.', request.user)
request.client_id = request.client_id or request.client.client_id
+ log.debug('Authorizing access to client %r.', request.client_id)
self.validate_scopes(request)
for validator in self.custom_validators.post_token: