display unlimited when quota is 0
This commit is contained in:
parent
dad22f7261
commit
b557e69313
|
@ -135,7 +135,7 @@ def get_mail_users_ex(env, with_archived=False):
|
||||||
user = {
|
user = {
|
||||||
"email": email,
|
"email": email,
|
||||||
"privileges": parse_privs(privileges),
|
"privileges": parse_privs(privileges),
|
||||||
"quota": quota,
|
"quota": 'unlimited' if quota == '0' else quota,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
}
|
}
|
||||||
users.append(user)
|
users.append(user)
|
||||||
|
|
Loading…
Reference in New Issue