Include short_name in field list returned by /session API

This commit is contained in:
Lance Edgar 2019-08-24 20:35:56 -05:00
parent 9081985b08
commit 7c0d9c4f93

View file

@ -42,6 +42,7 @@ class AuthenticationView(APIView):
'uuid': user.uuid, 'uuid': user.uuid,
'username': user.username, 'username': user.username,
'display_name': user.display_name, 'display_name': user.display_name,
'short_name': user.get_short_name(),
}, },
} }