Merge pull request #6787 from patschi/hide-relayhosts-if-no-acl

Hide relayhosts when ACL does not allow
This commit is contained in:
FreddleSpl0it authored and GitHub committed 2025-09-29 11:38:52 +02:00
commit 4a331929d0
2 files changed
+4

No files matched your search

+2
View File
@@ -58,6 +58,7 @@
</div>
</div>
</div>
{% if acl.domain_relayhost == '1' %}
<div class="row mb-2">
<label class="control-label col-sm-2" for="relayhost">{{ lang.edit.relayhost }}</label>
<div class="col-sm-10">
@@ -76,6 +77,7 @@
</select>
</div>
</div>
{% endif %}
{% if mailcow_cc_role == 'admin' %}
<div class="row mb-2">
<label class="control-label col-sm-2" for="aliases">{{ lang.edit.max_aliases }}</label>