diff options
author | David Lu <david.lu@hotmail.com> | 2016-06-21 21:22:34 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-06-21 21:22:34 -0400 |
commit | 295d26570985fe6cb7e03395e760bbb93bfb50b2 (patch) | |
tree | a0659f08dbaa49c8695b2c4ca71d9ab25ab7d696 | |
parent | eb76e61534742b126a35afe12da1deb9c4f8a7d6 (diff) | |
download | chat-295d26570985fe6cb7e03395e760bbb93bfb50b2.tar.gz chat-295d26570985fe6cb7e03395e760bbb93bfb50b2.tar.bz2 chat-295d26570985fe6cb7e03395e760bbb93bfb50b2.zip |
Reset MFA error upon update (#3387)
-rw-r--r-- | webapp/components/user_settings/user_settings_security.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/user_settings/user_settings_security.jsx b/webapp/components/user_settings/user_settings_security.jsx index 10ac9131b..4cf28715b 100644 --- a/webapp/components/user_settings/user_settings_security.jsx +++ b/webapp/components/user_settings/user_settings_security.jsx @@ -306,7 +306,7 @@ class SecurityTab extends React.Component { updateSectionStatus = function resetSection(e) { this.props.updateSection(''); - this.setState({mfaToken: '', mfaShowQr: false, mfaError: null}); + this.setState({mfaToken: '', mfaShowQr: false, mfaError: null, serverError: null}); e.preventDefault(); }.bind(this); |