1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-24 07:37:04 +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 = {
"email": email,
"privileges": parse_privs(privileges),
"quota": quota,
"quota": 'unlimited' if quota == '0' else quota,
"status": "active",
}
users.append(user)