mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
User info
This commit is contained in:
parent
11c2a78835
commit
af9469eecf
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ def user_list(fields=None, filter=None, limit=None, offset=None):
|
|||
for user in result[i:]:
|
||||
if i <= limit:
|
||||
entry = {
|
||||
'Username': user['uid'],
|
||||
'Fullname': user['cn'],
|
||||
'Username': user['uid'][0],
|
||||
'Fullname': user['cn'][0],
|
||||
'Mail': user['mail'][0]
|
||||
}
|
||||
if len(user['mail']) > 1:
|
||||
|
|
Loading…
Reference in a new issue