From 87f44fada4f54b9a99f7bd41a4377b52d20f845e Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 19 Sep 2020 22:23:11 +0200 Subject: [PATCH] providers/oauth2: fix refreshtoken being initialised wrong --- passbook/providers/oauth2/views/token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passbook/providers/oauth2/views/token.py b/passbook/providers/oauth2/views/token.py index f25723688..97e97c613 100644 --- a/passbook/providers/oauth2/views/token.py +++ b/passbook/providers/oauth2/views/token.py @@ -91,7 +91,7 @@ class TokenParams: try: self.refresh_token = RefreshToken.objects.get( - refresh_token=raw_token, client=self.provider + refresh_token=raw_token, provider=self.provider ) except RefreshToken.DoesNotExist: