remove def get_key_and_secret
This commit is contained in:
parent
789fa147a5
commit
c287685d32
@ -63,6 +63,3 @@ class WPOAuth2(BaseOAuth2):
|
|||||||
|
|
||||||
def get_username(self, strategy, details, backend, user=None, *args, **kwargs):
|
def get_username(self, strategy, details, backend, user=None, *args, **kwargs):
|
||||||
return details['username']
|
return details['username']
|
||||||
|
|
||||||
def get_key_and_secret(self):
|
|
||||||
return (self.CLIENT_ID, self.CLIENT_SECRET)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user