User info

This commit is contained in:
Kload 2013-03-13 13:13:48 +01:00
parent 11c2a78835
commit af9469eecf

View file

@ -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: