Remove CSRF debug features

This commit is contained in:
Sebastian Serth
2021-04-22 11:31:30 +02:00
parent c243e65403
commit 9a5514942e
3 changed files with 1 additions and 10 deletions

View File

@ -12,11 +12,6 @@ CodeOceanEditorAJAX = {
$.flash.danger({
text: message.length > 0 ? message : $('#flash').data('message-failure')
});
Sentry.setContext("error",{
cookie: document.cookie,
response: response.responseText,
csrf: $('meta[name="csrf-token"]').attr("content")
});
Sentry.captureException(JSON.stringify(response));
}
};