Code cleanup of captive portal users now in nEdge

This commit is contained in:
Simone Mainardi 2018-10-19 15:50:58 +02:00
parent b3018f52d6
commit 52de8430d0
9 changed files with 6 additions and 352 deletions

View file

@ -24,9 +24,6 @@ print [[
print('<input id="csrf" name="csrf" type="hidden" value="'..ntop.getRandomCSRFValue()..'" />\n')
local location_href = ntop.getHttpPrefix().."/lua/admin/users.lua"
if is_captive_portal_active and _GET["captive_portal_users"] ~= nil then
location_href = location_href.."?captive_portal_users=1"
end
print [[
<input id="delete_dialog_username" type="hidden" name="username" value="" />