sysauth: add autocomplete and id attributes to login inputs
authorViktor Tsvetkov <zwetvik@gmail.com>
Fri, 24 Dec 2021 11:36:35 +0000 (12:36 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sat, 15 Oct 2022 12:32:35 +0000 (14:32 +0200)
commitafd001293996ee6557ea14b438d95b41bd75f132
treec851fa314497437a8d092b98cacbb0ae674a36c9
parentbba2f72500eef39dc04584c6a3c4c962ffaa0e4d
sysauth: add autocomplete and id attributes to login inputs

this let browser automatically fill according to HTML spec for input elements.
luci-theme-bootstrap and luci-base are affected.

Signed-off-by: Viktor Tsvetkov <zwetvik@gmail.com>
[indentation fix]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 3e9d9a9dbb045c24eb93643838f8e8e3b9074e4b)
modules/luci-base/luasrc/view/sysauth.htm
themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/sysauth.htm