Commit 38148679 by Clinton Blackburn

Added administrator bit to JWT access token

parent 5af72a0d
......@@ -153,6 +153,7 @@ class AccessTokenView(_DispatchingView):
'family_name': user.last_name,
'name': user.get_full_name(),
'given_name': user.first_name,
'administrator': user.is_staff,
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment