From 32498a1a6410063b3895eb49d3676b8c8fe882fa Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Fri, 31 Jul 2015 15:01:07 -0700 Subject: Fixed issue with password field not being cleared after canceling out of changing your password --- web/react/components/user_settings.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/react/components') 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 { -- cgit v1.2.3-1-g7c22