Include short_name
in field list returned by /session API
This commit is contained in:
parent
9081985b08
commit
7c0d9c4f93
|
@ -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(),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue