allauth_authentic2: provision first_name and last_name
This commit is contained in:
parent
61fd4a3090
commit
ad08e4e9be
|
@ -28,7 +28,8 @@ class Authentic2Provider(OAuth2Provider):
|
|||
def extract_common_fields(self, data):
|
||||
return dict(email=data.get('email'),
|
||||
username=data.get('username'),
|
||||
name=data.get('displayname'))
|
||||
first_name=data.get('first_name'),
|
||||
last_name=data.get('last_name'))
|
||||
|
||||
def extract_email_addresses(self, data):
|
||||
ret = [EmailAddress(email=data['email'],
|
||||
|
|
Reference in New Issue