allauth_authentic2: fix typo
This commit is contained in:
parent
b2dbc03414
commit
4360c773a6
|
@ -37,7 +37,7 @@ class Authentic2Provider(OAuth2Provider):
|
|||
return ret
|
||||
|
||||
def sociallogin_from_response(self, request, response):
|
||||
sociallogin = self(Authentic2Provider, self).sociallogin_from_response(
|
||||
sociallogin = super(Authentic2Provider, self).sociallogin_from_response(
|
||||
request, response)
|
||||
if app_settings.ADMIN_ROLE in response.get('role', []):
|
||||
log.debug('giving admin role to user')
|
||||
|
|
Reference in New Issue