providers/oauth2: fix refreshtoken being initialised wrong
This commit is contained in:
parent
c0026f3e16
commit
87f44fada4
|
@ -91,7 +91,7 @@ class TokenParams:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.refresh_token = RefreshToken.objects.get(
|
self.refresh_token = RefreshToken.objects.get(
|
||||||
refresh_token=raw_token, client=self.provider
|
refresh_token=raw_token, provider=self.provider
|
||||||
)
|
)
|
||||||
|
|
||||||
except RefreshToken.DoesNotExist:
|
except RefreshToken.DoesNotExist:
|
||||||
|
|
Reference in a new issue