Merge pull request #681 from Charlo270398/development-LDAPeditUserBUG

LDAP edit users BUG fixed
This commit is contained in:
Tomas Bures 2019-08-20 14:42:23 +02:00 committed by GitHub
commit 52652d8ac5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ export default class CUD extends Component {
} else if (usernameServerValidation && usernameServerValidation.exists) {
state.setIn(['username', 'error'], t('theUserNameAlreadyExistsInTheSystem'));
} else if (!usernameServerValidation) {
state.setIn(['email', 'error'], t('validationIsInProgress'));
state.setIn(['username', 'error'], t('validationIsInProgress'));
} else {
state.setIn(['username', 'error'], null);
}