mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
fix system view and add rtt host from host_details
This commit is contained in:
parent
be0c0a9566
commit
7479582210
113 changed files with 324 additions and 158 deletions
|
|
@ -10,12 +10,12 @@ sendHTTPContentTypeHeader('text/html')
|
|||
|
||||
if(haveAdminPrivileges()) then
|
||||
username = _POST["username"]
|
||||
|
||||
|
||||
if(username == nil) then
|
||||
print ("{ \"result\" : -1, \"message\" : \"Invalid parameters\" }")
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
if(ntop.deleteUser(username)) then
|
||||
print ("{ \"result\" : 0, \"message\" : \"User deleted successfully\" }")
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue