mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Adds host pool id and user lifetime to lua getUsers
This commit is contained in:
parent
6667a3a22c
commit
0be022e37e
2 changed files with 11 additions and 7 deletions
|
|
@ -80,10 +80,11 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
if(num > 0) then
|
||||
print ",\n"
|
||||
end
|
||||
|
||||
|
||||
print ("{")
|
||||
print (" \"column_username\" : \"" .. key .. "\", ")
|
||||
print (" \"column_full_name\" : \"" .. value["full_name"] .. "\", ")
|
||||
|
||||
print (" \"column_group\" : \"" .. value["group"] .. "\", ")
|
||||
print (" \"column_edit\" : \"<a href='#password_dialog' data-toggle='modal' onclick='return(reset_pwd_dialog(\\\"".. key.."\\\"));'><span class='label label-info'>Manage</span></a> ")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue