modules/base: attempt to work around Firefox autocomplete bugs
[project/luci.git] / modules / base / luasrc / dispatcher.lua
index 9e5b78d..f7e16e7 100644 (file)
@@ -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