fix(onboarding): Add checking passwords to new password input

Closes: #5834
This commit is contained in:
Boris Melnik 2022-05-23 15:36:23 +03:00 committed by Iuri Matias
parent 21fedcbb2b
commit 1f5de11069
1 changed files with 9 additions and 6 deletions

View File

@ -222,6 +222,9 @@ Column {
// Update strength indicator:
strengthInditactor.strength = d.convertStrength(RootStore.getPasswordStrengthScore(newPswInput.text, root.onboarding))
if (textField.text.length === confirmPswInput.text.length) {
root.checkPasswordMatches(false)
}
}
Keys.onReturnPressed: { root.returnPressed() }