]> git.wh0rd.org Git - tt-rss.git/commitdiff
set feed editor password fields to autocomplete=off
authorAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Wed, 18 May 2016 09:31:25 +0000 (12:31 +0300)
committerAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Wed, 18 May 2016 09:31:25 +0000 (12:31 +0300)
classes/pref/feeds.php

index 1bc8a1533f5b298d56e26b6eca6fc475c472d84f..20f7bc66f00417454d7b6a006a4f1b15df2ee5ac 100755 (executable)
@@ -641,6 +641,7 @@ class Pref_Feeds extends Handler_Protected {
 
                print "<input dojoType=\"dijit.form.TextBox\" id=\"feedEditDlg_login\"
                        placeHolder=\"".__("Login")."\"
+                       autocomplete=\"off\"
                        name=\"auth_login\" value=\"$auth_login\"><hr/>";
 
                $auth_pass = $this->dbh->fetch_result($result, 0, "auth_pass");
@@ -653,6 +654,7 @@ class Pref_Feeds extends Handler_Protected {
                $auth_pass = htmlspecialchars($auth_pass);
 
                print "<input dojoType=\"dijit.form.TextBox\" type=\"password\" name=\"auth_pass\"
+                       autocomplete=\"off\"
                        placeHolder=\"".__("Password")."\"
                        value=\"$auth_pass\">";
 
@@ -878,11 +880,13 @@ class Pref_Feeds extends Handler_Protected {
 
                print "<input dojoType=\"dijit.form.TextBox\"
                        placeHolder=\"".__("Login")."\" disabled=\"1\"
+                       autocomplete=\"off\"
                        name=\"auth_login\" value=\"\">";
 
                $this->batch_edit_cbox("auth_login");
 
                print "<hr/> <input dojoType=\"dijit.form.TextBox\" type=\"password\" name=\"auth_pass\"
+                       autocomplete=\"off\"
                        placeHolder=\"".__("Password")."\" disabled=\"1\"
                        value=\"\">";
 
@@ -1840,6 +1844,7 @@ class Pref_Feeds extends Handler_Protected {
                                " <input
                                        placeHolder=\"".__("Password")."\"
                                        dojoType=\"dijit.form.TextBox\" type='password'
+                                       autocomplete=\"off\"
                                        style=\"width : 10em;\" name='pass'\">".
                                "</div>";