summaryrefslogtreecommitdiffstats
path: root/settings/templates/admin.php
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 16:33:40 +0100
commit74bae8780313a51018d29dee42f48ebf3eb3fe60 (patch)
treeb181a1c7d329204a077d2b94548ae815e7a48aaf /settings/templates/admin.php
parent486f49ed72970276462f09074829576588352b2a (diff)
downloadnextcloud-server-74bae8780313a51018d29dee42f48ebf3eb3fe60.tar.gz
nextcloud-server-74bae8780313a51018d29dee42f48ebf3eb3fe60.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/admin.php')
-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>