Commit 079dc972 by Clinton Blackburn

Merge pull request #12562 from edx/clintonb/jwt-fix

Added administrator bit to JWT access token
parents ebf89d63 38148679
......@@ -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