remove token from application-js

This commit is contained in:
Henrique Dias 2016-12-08 14:53:03 +00:00
parent 2e111eab9f
commit 9f84c546a2

View File

@ -115,7 +115,6 @@ document.addEventListener('editor', event => {
let request = new XMLHttpRequest(); let request = new XMLHttpRequest();
request.open("PUT", window.location); request.open("PUT", window.location);
request.setRequestHeader('Kind', kind); request.setRequestHeader('Kind', kind);
request.setRequestHeader('Token', token);
request.setRequestHeader('Regenerate', "true"); request.setRequestHeader('Regenerate', "true");
request.send(JSON.stringify(data)); request.send(JSON.stringify(data));
request.onreadystatechange = function() { request.onreadystatechange = function() {