diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-10-20 19:44:24 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-10-20 19:45:28 +0200 |
commit | ff65318ba52109f4ca7eb83a639ecddda2a8b3fc (patch) | |
tree | acac1ceaace2664e29ba562b746aed81a94e55a3 /modules/base/luasrc/dispatcher.lua | |
parent | b83bbed9196e84ffb854f17410036e500a6f916b (diff) |
modules/base: attempt to work around Firefox autocomplete bugs
Ref: https://dev.openwrt.org/ticket/18176
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'modules/base/luasrc/dispatcher.lua')
-rw-r--r-- | modules/base/luasrc/dispatcher.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/base/luasrc/dispatcher.lua b/modules/base/luasrc/dispatcher.lua index 9e5b78d5e9..f7e16e77b6 100644 --- a/modules/base/luasrc/dispatcher.lua +++ b/modules/base/luasrc/dispatcher.lua @@ -145,8 +145,8 @@ function error500(message) end function authenticator.htmlauth(validator, accs, default) - local user = luci.http.formvalue("username") - local pass = luci.http.formvalue("password") + local user = luci.http.formvalue("luci_username") + local pass = luci.http.formvalue("luci_password") if user and validator(user, pass) then return user |