From 235bde1a463c5eda428d72a5fd6ccd8f2d8db103 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Tue, 19 Aug 2025 11:40:55 +0200 Subject: [PATCH] Do not send wrong quota value when using default domain quota --- .../src/components/admin/identities/AccountCreationForm.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/admin/identities/AccountCreationForm.vue b/frontend/src/components/admin/identities/AccountCreationForm.vue index 63f3544e4..40b3bdc09 100644 --- a/frontend/src/components/admin/identities/AccountCreationForm.vue +++ b/frontend/src/components/admin/identities/AccountCreationForm.vue @@ -245,8 +245,9 @@ function preparePayload(payload) { cleaned_payload.mailbox.message_limit = null } if ( - cleaned_payload.mailbox.quota === undefined || - cleaned_payload.mailbox.quota === null + !cleaned_payload.mailbox.use_domain_quota && + (cleaned_payload.mailbox.quota === undefined || + cleaned_payload.mailbox.quota === null) ) { cleaned_payload.mailbox.quota = 0 }