Cleanup unnecessary CSRF tokens passed

This commit is contained in:
emanuele-f 2020-05-08 12:55:36 +02:00
parent 53e276e283
commit af842e4aa6
17 changed files with 7 additions and 36 deletions

View file

@ -18,6 +18,6 @@ local upgrade_request_key = "ntopng.updates.run_upgrade"
ntop.setCache(upgrade_request_key, "1", 600)
res = { csrf = ntop.getRandomCSRFValue() }
res = { }
print(json.encode(res, nil, 1))