a2_idp_oidc: fix code model repr special method (#26196)

This commit is contained in:
Paul Marillonnet 2018-09-07 09:48:03 +02:00
parent f70ebc07d1
commit 3e339bf8f4
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ class OIDCCode(models.Model):
return self.expired >= now() and self.session is not None
def __repr__(self):
return '<OIDCAccessToken uuid:%s client:%s user:%s expired:%s scopes:%s>' % (
return '<OIDCCode uuid:%s client:%s user:%s expired:%s scopes:%s>' % (
self.uuid,
self.client_id and unicode(self.client),
self.user_id and unicode(self.user),