autocomplete="new-password" for devices (#4005)
Chrome is no longer supporting autocomplete="off". The new standard for Chrome is autocomplete="new-password". This also seems to work for Firefox as well.
This commit is contained in:
parent
d8e1f249b6
commit
762f28aeea
|
|
@ -1003,12 +1003,12 @@
|
|||
echo " </td>\n";
|
||||
|
||||
echo " <td align='left'>\n";
|
||||
echo " <input class='formfld' style='width: 50px;' type='text' name='device_lines[".$x."][user_id]' maxlength='255' autocomplete=\"off\" value=\"".escape($row['user_id'])."\"/>\n";
|
||||
echo " <input class='formfld' style='width: 50px;' type='text' name='device_lines[".$x."][user_id]' maxlength='255' autocomplete=\"new-password\" value=\"".escape($row['user_id'])."\"/>\n";
|
||||
echo " </td>\n";
|
||||
|
||||
if (permission_exists('device_line_auth_id')) {
|
||||
echo " <td align='left'>\n";
|
||||
echo " <input class='formfld' style='width: 50px;' type='text' name='device_lines[".$x."][auth_id]' maxlength='255' autocomplete=\"off\" value=\"".escape($row['auth_id'])."\"/>\n";
|
||||
echo " <input class='formfld' style='width: 50px;' type='text' name='device_lines[".$x."][auth_id]' maxlength='255' autocomplete=\"new-password\" value=\"".escape($row['auth_id'])."\"/>\n";
|
||||
echo " </td>\n";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue