summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-02-04 16:33:40 +0100
committerLukas Reschke <lukas@owncloud.com>2015-02-04 17:00:39 +0100
commit40244c9eef0a0c170a77b66052fc3cae01519eb9 (patch)
treeb181a1c7d329204a077d2b94548ae815e7a48aaf /settings/templates
parent486f49ed72970276462f09074829576588352b2a (diff)
downloadnextcloud-server-40244c9eef0a0c170a77b66052fc3cae01519eb9.tar.gz
nextcloud-server-40244c9eef0a0c170a77b66052fc3cae01519eb9.zip
Disable autocomplete for SMTP Password
While really nearly no modern browser cares about it anymore too much it's still not wrong to have it here (and also stops some automated scanners reporting this...)
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 65c6359e509..55f84a7ff8b 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -450,7 +450,7 @@ if ($_['suggestedOverwriteCliUrl']) {
<label for="mail_smtpname"><?php p($l->t( 'Credentials' )); ?></label>
<input type="text" name='mail_smtpname' id="mail_smtpname" placeholder="<?php p($l->t('SMTP Username'))?>"
value='<?php p($_['mail_smtpname']) ?>' />
- <input type="password" name='mail_smtppassword' id="mail_smtppassword"
+ <input type="password" name='mail_smtppassword' id="mail_smtppassword" autocomplete="off"
placeholder="<?php p($l->t('SMTP Password'))?>" value='<?php p($_['mail_smtppassword']) ?>' />
<input id="mail_credentials_settings_submit" type="button" value="<?php p($l->t('Store credentials')) ?>">
</p>