summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/react/components/user_settings.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/user_settings.jsx b/web/react/components/user_settings.jsx
index c574d2365..2ddd80d10 100644
--- a/web/react/components/user_settings.jsx
+++ b/web/react/components/user_settings.jsx
@@ -589,7 +589,7 @@ var SecurityTab = React.createClass({
submit={submit}
server_error={server_error}
client_error={password_error}
- updateSection={function(e){self.props.updateSection("");e.preventDefault();}}
+ updateSection={function(e){self.props.updateSection("");self.setState({current_password: '', new_password: '', confirm_password: '', server_error: null, password_error: null});e.preventDefault();}}
/>
);
} else {