Adds web UI ACL conf (WIP)

This commit is contained in:
Simone Mainardi 2018-06-21 18:23:32 +02:00
parent 3bc4312ed1
commit 3dadc3bb78
4 changed files with 36 additions and 0 deletions

View file

@ -753,6 +753,11 @@ function printMisc()
prefsInputFieldPrefs(subpage_active.entries["max_ui_strlen"].title, subpage_active.entries["max_ui_strlen"].description,
"ntopng.prefs.", "max_ui_strlen", prefs.max_ui_strlen, "number", nil, nil, nil, {min=3, max=128})
prefsInputFieldPrefs(subpage_active.entries["mgmt_acl"].title, subpage_active.entries["mgmt_acl"].description,
"ntopng.prefs.",
"http_acl_management_port",
"", false, nil, nil, nil, {style={width="25em;"}, attributes={spellcheck="false"} --[[ Note: Google API keys can vary in format ]] })
prefsInputFieldPrefs(subpage_active.entries["google_apis_browser_key"].title, subpage_active.entries["google_apis_browser_key"].description,
"ntopng.prefs.",
"google_apis_browser_key",