mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Add csrf when error occurs in edit_user_script_config
This commit is contained in:
parent
c57399c060
commit
969701f2aa
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ result.success = success
|
|||
|
||||
if not success then
|
||||
result.error = err
|
||||
result.csrf = ntop.getRandomCSRFValue()
|
||||
end
|
||||
|
||||
-- ################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue