fixed logger message

This commit is contained in:
Wojciech Bartosiak 2017-03-30 21:45:14 +01:00 committed by GitHub
parent d392a14223
commit 30bb06d478

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.