From 295d26570985fe6cb7e03395e760bbb93bfb50b2 Mon Sep 17 00:00:00 2001 From: David Lu Date: Tue, 21 Jun 2016 21:22:34 -0400 Subject: Reset MFA error upon update (#3387) --- webapp/components/user_settings/user_settings_security.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/components/user_settings/user_settings_security.jsx') 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); -- cgit v1.2.3-1-g7c22