mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 09:50:09 +00:00
Cleanup unnecessary CSRF tokens passed
This commit is contained in:
parent
53e276e283
commit
af842e4aa6
17 changed files with 7 additions and 36 deletions
|
|
@ -99,8 +99,6 @@ $(document).ready(function() {
|
|||
$.post(`${http_prefix}/lua/enterprise/edit_syslog_producer.lua`, data_to_send)
|
||||
.then((data, result, xhr) => {
|
||||
|
||||
// always update the token
|
||||
syslog_producers_csrf = data.csrf;
|
||||
$(`form#syslog-producers-${action}-modal button[type='submit']`).removeAttr("disabled");
|
||||
$('#syslog-producers-alert').addClass('alert-success').removeClass('alert-danger');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue