mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-25 07:47:05 +00:00
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
Block a user