always send email with OpenID userinfo
This commit is contained in:
parent
2a3107ea3c
commit
9967319294
|
@ -16,7 +16,7 @@ class OpenIDUserInfoView(ScopedResourceMixin, View):
|
||||||
'name': request.user.get_full_name(),
|
'name': request.user.get_full_name(),
|
||||||
'given_name': request.user.first_name,
|
'given_name': request.user.first_name,
|
||||||
'family_name': request.user.last_name,
|
'family_name': request.user.last_name,
|
||||||
'preferred_username': request.user.username
|
'preferred_username': request.user.username,
|
||||||
|
'email': request.user.email,
|
||||||
}
|
}
|
||||||
|
|
||||||
return JsonResponse(payload)
|
return JsonResponse(payload)
|
||||||
|
|
Reference in New Issue