Skip to content

Commit

Permalink
Update cvat-ui/src/components/reset-password-confirm-page/reset-passw…
Browse files Browse the repository at this point in the history
…ord-confirm-form.tsx
  • Loading branch information
Nikita Manovich authored Aug 31, 2020
1 parent df7dad3 commit 3e2be6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ResetPasswordConfirmFormComponent extends React.PureComponent<ResetPasswor
private validateConfirmation = (_: any, value: string, callback: Function): void => {
const { form } = this.props;
if (value && value !== form.getFieldValue('newPassword1')) {
callback('Two passwords that you enter is inconsistent!');
callback('Passwords do not match!');
} else {
callback();
}
Expand Down

0 comments on commit 3e2be6e

Please sign in to comment.