providers/oauth2: fix error when creating RefreshToken

This commit is contained in:
Jens Langhammer 2020-12-29 21:22:49 +01:00
parent bbd0ff24d8
commit 765ae80698
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ class RefreshToken(ExpiringModel, BaseGrantModel):
self._id_token = json.dumps(asdict(value))
def __str__(self):
return f"Refresh Token for {self.provider} for user {self.access_token.user}"
return f"Refresh Token for {self.provider} for user {self.user}"
@property
def at_hash(self):