summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-05-12 09:49:40 -0400
committerChristopher Speller <crspeller@gmail.com>2016-05-12 09:49:40 -0400
commit82e6cf785c13443f3496941c3ef884506420c735 (patch)
treef8cd32813b2116de8707573d989ef769cc023916 /webapp
parent0fa51b764d87372f7ba0112282558714e60a7664 (diff)
downloadchat-82e6cf785c13443f3496941c3ef884506420c735.tar.gz
chat-82e6cf785c13443f3496941c3ef884506420c735.tar.bz2
chat-82e6cf785c13443f3496941c3ef884506420c735.zip
Fix incorrect password error with MFA enabled (#2977)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/login/login.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/webapp/components/login/login.jsx b/webapp/components/login/login.jsx
index 0a12ed645..60d25a2ca 100644
--- a/webapp/components/login/login.jsx
+++ b/webapp/components/login/login.jsx
@@ -98,6 +98,7 @@ export default class Login extends React.Component {
});
} else if (err.id === 'api.user.check_user_password.invalid.app_error' || err.id === 'ent.ldap.do_login.invalid_password.app_error') {
this.setState({
+ showMfa: false,
serverError: (
<FormattedMessage
id='login.invalidPassword'