Commit 82e6cf78 authored by Joram Wilander's avatar Joram Wilander Committed by Christopher Speller
Browse files

Fix incorrect password error with MFA enabled (#2977)

parent 0fa51b76
......@@ -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'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment