mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Set csrfToken for ajax post
This commit is contained in:
parent
387d779bdf
commit
ea5ee29d4a
@ -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…
x
Reference in New Issue
Block a user