summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Settings/Admin/Additional.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Settings/Admin/Additional.php b/lib/private/Settings/Admin/Additional.php
index d133e4737a7..59058851a64 100644
--- a/lib/private/Settings/Admin/Additional.php
+++ b/lib/private/Settings/Admin/Additional.php
@@ -65,6 +65,10 @@ class Additional implements ISettings {
'mail_smtppassword' => $this->config->getSystemValue('mail_smtppassword', ''),
];
+ if ($parameters['mail_smtppassword'] !== '') {
+ $parameters['mail_smtppassword'] = '********';
+ }
+
return new TemplateResponse('settings', 'admin/additional-mail', $parameters, '');
}