fixed logger message
This commit is contained in:
parent
d392a14223
commit
30bb06d478
1 changed files with 1 additions and 2 deletions
|
@ -106,8 +106,7 @@ class TokenEndpoint(object):
|
||||||
|
|
||||||
if not (self.code.client == self.client) \
|
if not (self.code.client == self.client) \
|
||||||
or self.code.has_expired():
|
or self.code.has_expired():
|
||||||
logger.debug('[Token] Invalid code: invalid client or code has expired',
|
logger.debug('[Token] Invalid code: invalid client or code has expired')
|
||||||
self.params['redirect_uri'])
|
|
||||||
raise TokenError('invalid_grant')
|
raise TokenError('invalid_grant')
|
||||||
|
|
||||||
# Validate PKCE parameters.
|
# Validate PKCE parameters.
|
||||||
|
|
Loading…
Reference in a new issue