mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Merge pull request #165 from ascribe/AG-161-filter-password_confirm-for-sentry
Filter password_confirm for sentry
This commit is contained in:
commit
69dd08751b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user