mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Added ldaps and admin group fields in ntopng preferences.
This commit is contained in:
parent
8458dc97b5
commit
885e808bdf
2 changed files with 9 additions and 6 deletions
|
|
@ -156,6 +156,7 @@ function prefsInputFieldWithParamCheck(label, comment, pre_key, key, value, _inp
|
|||
value = v
|
||||
elseif (v_s ~= nil) then
|
||||
-- fix for ldap preference
|
||||
v_s = string.gsub(v_s, "ldaps:__", "ldaps://")
|
||||
v_s = string.gsub(v_s, "ldap:__", "ldap://")
|
||||
ntop.setCache(k, v_s)
|
||||
value = v_s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue