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)