File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dj_rest_auth/registration Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1414 from allauth .account .adapter import get_adapter
1515 from allauth .account .utils import setup_user_email
1616 from allauth .socialaccount .helpers import complete_social_login
17- from allauth .socialaccount .models import SocialAccount , EmailAddress
17+ from allauth .socialaccount .models import EmailAddress , SocialAccount
1818 from allauth .socialaccount .providers .base import AuthProcess
1919 from allauth .utils import get_username_max_length
2020except ImportError :
@@ -119,7 +119,7 @@ def validate(self, attrs):
119119 )
120120
121121 provider = adapter .get_provider ()
122- scope = provider .get_scope (request )
122+ scope = provider .get_scope_from_request (request )
123123 client = self .client_class (
124124 request ,
125125 app .client_id ,
You can’t perform that action at this time.
0 commit comments