summaryrefslogtreecommitdiffstats
path: root/webapp/components/user_settings
diff options
context:
space:
mode:
authorDavid Lu <david.lu@hotmail.com>2016-06-18 01:15:29 -0400
committerenahum <nahumhbl@gmail.com>2016-06-18 02:15:29 -0300
commit8c8344fc41f680ff959db4b9b061e5cd9e7848bd (patch)
tree95a823e40d4ffb081262323dc6509a9a22b4f1ad /webapp/components/user_settings
parent5bea621e5b3eaab8a31b8a1067983b94b30493a8 (diff)
downloadchat-8c8344fc41f680ff959db4b9b061e5cd9e7848bd.tar.gz
chat-8c8344fc41f680ff959db4b9b061e5cd9e7848bd.tar.bz2
chat-8c8344fc41f680ff959db4b9b061e5cd9e7848bd.zip
Reset password errors upon submit (#3362)
Diffstat (limited to 'webapp/components/user_settings')
-rw-r--r--webapp/components/user_settings/user_settings_security.jsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/webapp/components/user_settings/user_settings_security.jsx b/webapp/components/user_settings/user_settings_security.jsx
index ffeeb1a24..10ac9131b 100644
--- a/webapp/components/user_settings/user_settings_security.jsx
+++ b/webapp/components/user_settings/user_settings_security.jsx
@@ -68,10 +68,11 @@ class SecurityTab extends React.Component {
currentPassword: '',
newPassword: '',
confirmPassword: '',
+ passwordError: '',
+ serverError: '',
authService: this.props.user.auth_service,
mfaShowQr: false,
- mfaToken: '',
- serverError: ''
+ mfaToken: ''
};
}