From 7c0d9c4f9383abcaef1ba4624bb54084dc2cc1e8 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 24 Aug 2019 20:35:56 -0500 Subject: [PATCH] Include `short_name` in field list returned by /session API --- tailbone/api/auth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tailbone/api/auth.py b/tailbone/api/auth.py index 59ac2ee8..ea1a4c8f 100644 --- a/tailbone/api/auth.py +++ b/tailbone/api/auth.py @@ -42,6 +42,7 @@ class AuthenticationView(APIView): 'uuid': user.uuid, 'username': user.username, 'display_name': user.display_name, + 'short_name': user.get_short_name(), }, }