Skip to content

Commit

Permalink
Merge pull request #3311 from unicef/twekas
Browse files Browse the repository at this point in the history
user tweaks
  • Loading branch information
robertavram authored Jun 17, 2022
2 parents ae5a07a + 736b006 commit 1360dad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/etools/applications/users/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ class ProfileAdmin(admin.ModelAdmin):
search_fields = (
'tenant_profile__office__name',
'country__name',
'user__email'
'user__email',
'guid'
)
readonly_fields = (
'user',
Expand Down
2 changes: 1 addition & 1 deletion src/etools/applications/users/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AzureUserMapper:
'mail',
'surname',
'userType',
('companyName', ['UNICEF', ]),
# ('companyName', ['UNICEF', ]),
]

USER_ATTR_MAP = {
Expand Down

0 comments on commit 1360dad

Please sign in to comment.