Skip to content

Commit c7d50ab

Browse files
agorbivskyiagorbivskyi
authored andcommitted
MAGETWO-33443: Password strength validator on installation wizard works in over-exacting mode:
- fixed UI
1 parent 950bf99 commit c7d50ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/pub/magento/setup/create-admin-account.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ angular.module('create-admin-account', ['ngStorage'])
2727
} else if (p.length > 6 && p.match(/[\d]+/) && p.match(/[a-zA-Z]+/)) {
2828
$scope.admin.passwordStatus.class = 'fair';
2929
$scope.admin.passwordStatus.label = 'Fair';
30-
} else if (p.length > 6) {
30+
} else if (p.length >= 6) {
3131
$scope.admin.passwordStatus.class = 'weak';
3232
$scope.admin.passwordStatus.label = 'Weak';
3333
} else {

0 commit comments

Comments
 (0)