Skip to content

Commit

Permalink
Merge pull request #24 from ollieparanoid/6-char-pass
Browse files Browse the repository at this point in the history
mobile: change min pass length to 6 digits
  • Loading branch information
adriaandegroot authored Jul 1, 2023
2 parents 2dd9a7b + cc02bae commit 9b4c487
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modules/mobile/mobile.qml
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,10 @@ Page
if (pass == "")
return validationFailure(errorText);

if (pass.length < 8)
if (pass.length < 6)
return validationFailure(errorText,
"Too short: needs at least 8" +
" characters.");
"Too short: needs at least 6" +
" digits/characters.");

if (repeat == "")
return validationFailure(errorText);
Expand Down Expand Up @@ -374,10 +374,10 @@ Page
"\n" +
allowed_chars_multiline());

if (pass.length < 8)
if (pass.length < 6)
return validationFailure(errorText,
"Too short: needs at least 8" +
" characters.");
"Too short: needs at least 6" +
" digits/characters.");

if (repeat == "")
return validationFailure(errorText);
Expand Down

0 comments on commit 9b4c487

Please sign in to comment.