set feed editor password fields to autocomplete=off

This commit is contained in:
Andrew Dolgov 2016-05-18 12:31:25 +03:00
parent aa4ab8e0bc
commit fa0e0ef315
1 changed files with 5 additions and 0 deletions

View File

@ -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>";