mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Adds is_captive_portal flag to prefs
This commit is contained in:
parent
06e3d1fd83
commit
f6b4c1f775
6 changed files with 6 additions and 4 deletions
|
|
@ -24,7 +24,7 @@ print [[
|
|||
print('<input id="csrf" name="csrf" type="hidden" value="'..ntop.getRandomCSRFValue()..'" />\n')
|
||||
|
||||
local location_href = ntop.getHttpPrefix().."/lua/admin/users.lua"
|
||||
if is_bridge_iface and _GET["captive_portal_users"] ~= nil then
|
||||
if is_bridge_iface and _GET["captive_portal_users"] ~= nil and is_captive_portal_enabled then
|
||||
location_href = location_href.."?captive_portal_users=1"
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue