mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Unicity fix
This commit is contained in:
parent
8a702185bf
commit
77ab90bd6a
1 changed files with 2 additions and 2 deletions
|
@ -300,8 +300,8 @@ def user_info(user_or_mail):
|
||||||
raise YunoHostError(22, _("Unknown user/mail"))
|
raise YunoHostError(22, _("Unknown user/mail"))
|
||||||
|
|
||||||
result_dict = {
|
result_dict = {
|
||||||
'Username': user['uid'],
|
'Username': user['uid'][0],
|
||||||
'Fullname': user['cn'],
|
'Fullname': user['cn'][0],
|
||||||
'Mail': user['mail'][0]
|
'Mail': user['mail'][0]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue