Skip to content

android: show password validation feedback#10762

Draft
ZenulAbidin wants to merge 1 commit into
spesmilo:masterfrom
ZenulAbidin:fix/issue-8497
Draft

android: show password validation feedback#10762
ZenulAbidin wants to merge 1 commit into
spesmilo:masterfrom
ZenulAbidin:fix/issue-8497

Conversation

@ZenulAbidin

Copy link
Copy Markdown
Contributor

What changed

  • show an inline warning when a new password is shorter than six characters
  • show an inline warning when the confirmation does not match
  • reuse one minimum-length value for both feedback and button validation

Why

The Android password dialog already prevented submission of passwords shorter than six characters, but the requirement was only encoded in the disabled OK button. Users were not told why the password could not be accepted.

This makes the existing validation visible without changing the password policy.

Fixes #8497.

Validation

  • existing QML test suite: 8 passed
  • headless state checks against the real PasswordDialog component, including short, mismatched, valid, and non-confirmation modes
  • repeated the component checks against an isolated, non-editable install built from the source distribution
  • git diff --check

@f321x
f321x marked this pull request as ready for review July 20, 2026 09:27
@f321x
f321x marked this pull request as draft July 20, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Android: display error in password change modal when password too short

1 participant