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

@ -27,10 +27,6 @@ html lang="#{I18n.locale || I18n.default_locale}"
| release: "#{Sentry.configuration.release}",
| environment: "#{Sentry.configuration.environment}",
| });
| Sentry.setContext("initial",{
| cookie: document.cookie,
| csrf: $('meta[name="csrf-token"]').attr("content")
| });
- if @current_user
| Sentry.configureScope(function(scope) {
| scope.setUser({