summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBohdan <polamayster@gmail.com>2020-01-13 17:53:34 +0200
committerGitHub <noreply@github.com>2020-01-13 17:53:34 +0200
commit142976dbab0e659ab9d0f0020a6debfb3ab56c77 (patch)
treef1d874cc394506875360746a97f8929b2bea083b
parent794c9fb1305141903f4cd182d7d0aab959e86219 (diff)
downloadoauthlib-142976dbab0e659ab9d0f0020a6debfb3ab56c77.tar.gz
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..a9d0f73 100644
--- a/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py
+++ b/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py
@@ -117,7 +117,7 @@ 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)
+ log.debug('Authorizing access to client %r.', request.client.client_id)
request.client_id = request.client_id or request.client.client_id
self.validate_scopes(request)