summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-07-31 15:01:07 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-08-04 17:31:44 -0700
commit32498a1a6410063b3895eb49d3676b8c8fe882fa (patch)
tree07698cb1ca0c7fa70abf001045729ae770a813de /web/react
parentea51edf0c4a2c62ba3f6585dfde93c240c8f0a4b (diff)
downloadchat-32498a1a6410063b3895eb49d3676b8c8fe882fa.tar.gz
chat-32498a1a6410063b3895eb49d3676b8c8fe882fa.tar.bz2
chat-32498a1a6410063b3895eb49d3676b8c8fe882fa.zip
Fixed issue with password field not being cleared after canceling out of changing your password
Diffstat (limited to 'web/react')
-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 {