Skip to content

Commit

Permalink
user tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
domdinicola committed Jun 4, 2022
1 parent be2ffa1 commit 736b006
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 736b006

Please sign in to comment.