Skip to content

Commit 9b510ba

Browse files
committed
MAGETWO-51815: Invalid work of Password Strength Validator on "Create Customer" Storefront page
- Set dependency for password-strength-meter - Fix css for blank theme
1 parent bfbfb71 commit 9b510ba

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/code/Magento/Customer/view/frontend/web/js/password-strength-indicator.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
define([
1010
'jquery',
1111
'Magento_Customer/js/zxcvbn',
12-
'mage/translate'
12+
'mage/translate',
13+
'mage/validation'
1314
], function ($, zxcvbn, $t) {
1415
'use strict';
1516

app/design/frontend/Magento/blank/Magento_Customer/web/css/source/_module.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
}
279279
}
280280

281-
.password-strength-meter-0,
281+
.password-strength-meter-0 &,
282282
.password-strength-meter-1 & {
283283
&:before {
284284
background-color: @password-strength-color__weak;

0 commit comments

Comments
 (0)