Skip to content

Commit

Permalink
NEW: Enhanced Privacy for Regular Users
Browse files Browse the repository at this point in the history
 - mask mail server - #23
  • Loading branch information
aljawaid committed Sep 18, 2023
1 parent a4baca0 commit 830885e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Template/config/support.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,15 @@
<?php if (MAIL_TRANSPORT == 'smtp'): ?>
<span class="data-wrap">
<li class="mail-info-title"><?= t('Mail Server Hostname') ?></li>
<li class="mail-info-value value-path border-bottom-thick privacy"><?= MAIL_SMTP_HOSTNAME ?></li>
<?php if ($this->user->isAdmin()): ?>
<li class="mail-info-value value-path border-bottom-thick privacy">
<?= MAIL_SMTP_HOSTNAME ?>
</li>
<?php else: ?>
<li class="mail-info-value value-path border-bottom-thick">
<?= $this->helper->supportHelper->maskServer(MAIL_SMTP_HOSTNAME) ?>
</li>
<?php endif ?>
</span>
<?php if (!empty(MAIL_SMTP_ENCRYPTION)): ?>
<span class="data-wrap">
Expand Down

0 comments on commit 830885e

Please sign in to comment.