Merge pull request #160 from wojtek-fliposports/fixing_logger_exception
Fixing logger exception
This commit is contained in:
commit
e9de35b919
|
@ -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