1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

Filter password_confirm for sentry

This commit is contained in:
Tim Daubenschütz 2016-03-03 11:15:09 +01:00
parent 65ed47ff43
commit 0dc4efdca1

View File

@ -180,6 +180,7 @@ let Form = React.createClass({
// sentry shouldn't post the user's password // sentry shouldn't post the user's password
if (formData.password) { if (formData.password) {
delete formData.password; delete formData.password;
delete formData.password_confirm;
} }
console.logGlobal(err, formData); console.logGlobal(err, formData);