瀏覽代碼

Merge pull request #5730 from mailcow/fix/add-domain-gal

[Web] fix setting unchecked checkboxes on domain adding
Patrick Schult 1 年之前
父節點
當前提交
ff05cff36c
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      data/web/templates/modals/mailbox.twig

+ 6 - 0
data/web/templates/modals/mailbox.twig

@@ -381,6 +381,12 @@
       </div>
       </div>
       <div class="modal-body">
       <div class="modal-body">
         <form class="form-horizontal" data-cached-form="true" data-id="add_domain" role="form">
         <form class="form-horizontal" data-cached-form="true" data-id="add_domain" role="form">
+          <input type="hidden" value="0" name="gal">
+          <input type="hidden" value="0" name="active">
+          <input type="hidden" value="0" name="backupmx">
+          <input type="hidden" value="0" name="relay_all_recipients">
+          <input type="hidden" value="0" name="relay_unknown_only">
+
           <div class="row mb-2">
           <div class="row mb-2">
             <label class="control-label col-sm-2 text-sm-end text-sm-end" for="domain">{{ lang.add.domain }}</label>
             <label class="control-label col-sm-2 text-sm-end text-sm-end" for="domain">{{ lang.add.domain }}</label>
             <div class="col-sm-10">
             <div class="col-sm-10">