ignore the key of csrf_token in backend
This commit is contained in:
parent
a19ecec022
commit
0a05b4091f
|
@ -803,6 +803,8 @@ def add_job(user,beans,form):
|
|||
'message': 'add batch job success'
|
||||
}
|
||||
for key in job_data:
|
||||
if key == 'csrf_token':
|
||||
continue
|
||||
key_arr = key.split('_')
|
||||
value = job_data[key]
|
||||
if key_arr[0] == 'srcAddr' and value == '':
|
||||
|
|
Loading…
Reference in New Issue