always send email with OpenID userinfo

This commit is contained in:
Jens Langhammer 2018-11-25 12:31:21 +01:00
parent 2a3107ea3c
commit 9967319294
No known key found for this signature in database
GPG key ID: BEBC05297D92821B

View file

@ -16,7 +16,7 @@ class OpenIDUserInfoView(ScopedResourceMixin, View):
'name': request.user.get_full_name(),
'given_name': request.user.first_name,
'family_name': request.user.last_name,
'preferred_username': request.user.username
'preferred_username': request.user.username,
'email': request.user.email,
}
return JsonResponse(payload)