From 0dc4efdca1ac0cbe475fffb1fed86dbd756a008f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Thu, 3 Mar 2016 11:15:09 +0100 Subject: [PATCH] Filter password_confirm for sentry --- js/components/ascribe_forms/form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/components/ascribe_forms/form.js b/js/components/ascribe_forms/form.js index fe9e8646..fb7d4916 100644 --- a/js/components/ascribe_forms/form.js +++ b/js/components/ascribe_forms/form.js @@ -180,6 +180,7 @@ let Form = React.createClass({ // sentry shouldn't post the user's password if (formData.password) { delete formData.password; + delete formData.password_confirm; } console.logGlobal(err, formData);