smtp password safety

This commit is contained in:
Fred Tempez 2023-02-25 22:06:12 +01:00
parent 0dd310970f
commit 7eebe5e6ef

View File

@ -97,7 +97,7 @@
<?php echo template::password('smtpPassword', [ <?php echo template::password('smtpPassword', [
'label' => 'Mot de passe', 'label' => 'Mot de passe',
'autocomplete' => 'off', 'autocomplete' => 'off',
'value' => $this->getData(['config', 'smtp', 'username']) ? helper::decrypt($this->getData(['config', 'smtp', 'username']), $this->getData(['config', 'smtp', 'password'])) : '' 'value' => $this->getData(['config', 'smtp', 'password'])
]); ?> ]); ?>
</div> </div>
<div class="col2"> <div class="col2">