nextcloud/core/js/oc-requesttoken.js

4 lines
113 B
JavaScript
Raw Normal View History

$(document).bind('ajaxSend', function(elm, xhr, s) {
xhr.setRequestHeader('requesttoken', oc_requesttoken);
});