mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] yunohost user list --fields mail-alias
This commit is contained in:
parent
8cf151668f
commit
4a22f6b390
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ def user_list(fields=None):
|
|||
values = user[ldap_attrs[field]]
|
||||
entry[field] = display.get(field, display_default)(values, user)
|
||||
|
||||
users[entry['username']] = entry
|
||||
users[user['uid'][0]] = entry
|
||||
|
||||
return {"users": users}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue