Merge pull request #160 from wojtek-fliposports/fixing_logger_exception
Fixing logger exception
This commit is contained in:
commit
e9de35b919
1 changed files with 1 additions and 2 deletions
|
@ -106,8 +106,7 @@ class TokenEndpoint(object):
|
|||
|
||||
if not (self.code.client == self.client) \
|
||||
or self.code.has_expired():
|
||||
logger.debug('[Token] Invalid code: invalid client or code has expired',
|
||||
self.params['redirect_uri'])
|
||||
logger.debug('[Token] Invalid code: invalid client or code has expired')
|
||||
raise TokenError('invalid_grant')
|
||||
|
||||
# Validate PKCE parameters.
|
||||
|
|
Loading…
Reference in a new issue