mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Set csrfToken for ajax post
This commit is contained in:
parent
387d779bdf
commit
ea5ee29d4a
1 changed files with 1 additions and 0 deletions
|
@ -314,6 +314,7 @@ $('#js-sys-check-update').click(function() {
|
|||
});
|
||||
|
||||
$('#performupdateModal').on('shown.bs.modal', function (e) {
|
||||
var csrfToken = $('meta[name=csrf_token]').attr('content');
|
||||
$.post('ajax/system/sys_perform_update.php',{
|
||||
'csrf_token': csrfToken,
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue