mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Host Pools UI changes
- Do now show the "Not Assigned" group in user pool dropdown - Show an alert message when creating a Captive Portal user and no pools are defined - Improve unique member validator to account missing network prefixes - Prevent deleting an Host Group when a captive portal user is defined on it
This commit is contained in:
parent
1bd0d01658
commit
0db8abd83e
11 changed files with 120 additions and 39 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 and is_captive_portal_enabled then
|
||||
if is_captive_portal_active and _GET["captive_portal_users"] ~= nil then
|
||||
location_href = location_href.."?captive_portal_users=1"
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue