Merge pull request #160 from wojtek-fliposports/fixing_logger_exception

Fixing logger exception
This commit is contained in:
Wojciech Bartosiak 2017-03-30 22:03:30 +01:00 committed by GitHub
commit e9de35b919

View file

@ -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.