allauth_authentic2: fix typo

This commit is contained in:
Benjamin Dauvergne 2014-05-22 19:20:09 +02:00
parent b2dbc03414
commit 4360c773a6
1 changed files with 1 additions and 1 deletions

View File

@ -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')