fix system view and add rtt host from host_details

This commit is contained in:
gabryon99 2020-03-23 17:38:22 +01:00
parent be0c0a9566
commit 7479582210
113 changed files with 324 additions and 158 deletions

View file

@ -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