luci-base: hide autocomplete-preventing password input with bigger offset
Fixes openwrt/luci#2624
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit 3a24c2dbaa
)
This commit is contained in:
parent
28c71f7eda
commit
3ef6299f39
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
<%+cbi/valueheader%>
|
||||
<%- if self.password then -%>
|
||||
<input type="password" style="position:absolute; left:-1000px" aria-hidden="true" tabindex="-1"<%=
|
||||
<input type="password" style="position:absolute; left:-100000px" aria-hidden="true" tabindex="-1"<%=
|
||||
attr("name", "password." .. cbid)
|
||||
%> />
|
||||
<%- end -%>
|
||||
|
|
Loading…
Reference in a new issue