1
0
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:
John Supplee 2019-01-28 17:24:11 +02:00
parent dad22f7261
commit b557e69313

View File

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