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
1 changed files with 2 additions and 2 deletions

View File

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