]> source.dussan.org Git - nextcloud-server.git/commitdiff
Disable autocomplete for SMTP Password
authorLukas Reschke <lukas@owncloud.com>
Wed, 4 Feb 2015 15:33:40 +0000 (16:33 +0100)
committerLukas Reschke <lukas@owncloud.com>
Wed, 4 Feb 2015 16:00:39 +0000 (17:00 +0100)
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...)

settings/templates/admin.php

index 65c6359e509dafa35aa4b1fa996025bee1da9b07..55f84a7ff8b5e4c75be5b187227a122aebc3b96e 100644 (file)
@@ -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>