Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Websites
MyKDE
Commits
b7daf8c6
Commit
b7daf8c6
authored
Oct 11, 2020
by
Carl Schwan
🚴
Browse files
Add more alias for ID for graphana
parent
2f2d2ed6
Changes
1
Hide whitespace changes
Inline
Side-by-side
bid_api/views/info.py
View file @
b7daf8c6
...
...
@@ -30,6 +30,8 @@ def user_info_response(user: UserModel) -> JsonResponse:
secondary_emails
.
append
(
secondary_email
.
email
)
return
JsonResponse
({
'id'
:
user
.
uuid
,
'userID'
:
user
.
uuid
,
'authID'
:
user
.
uuid
,
'name'
:
user
.
full_name
,
# for gitlab
'full_name'
:
user
.
full_name
,
'email'
:
user
.
email
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment