diff options
Diffstat (limited to 'applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua')
-rw-r--r-- | applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua index 2c2625dbc..e8580daac 100644 --- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua +++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua @@ -138,7 +138,7 @@ elseif (tonumber(m.hidden.wpa_version) or 0) > 0 then end local login_section = (m.hidden.ssid or "") .. (m.hidden.bssid or "") -login_section = login_section.lower(login_section:gsub("[^%w_]", "_")) +login_section = login_section:gsub("[^%w_]", "_") local cmd = uci:get("travelmate", login_section, "command") cmd_list = m:field(ListValue, "cmdlist", translate("Auto Login Script"), translate("External script reference which will be called for automated captive portal logins.")) @@ -188,7 +188,7 @@ function wssid.write(self, section, value) uci:set("wireless", newsection, "encryption", "none") end local login_section = (wssid:formvalue(section) or "") .. (bssid:formvalue(section) or "") - login_section = login_section.lower(login_section:gsub("[^%w_]", "_")) + login_section = login_section:gsub("[^%w_]", "_") if not uci:get("travelmate", login_section) and cmd_list:formvalue(section) ~= "none" then uci:set("travelmate", login_section, "login") end |