Skip to content

Commit 6bbb305

Browse files
Merge remote-tracking branch 'origin/MAGETWO-51815-pw-checker' into develop
2 parents eef63bb + f3ca1ce commit 6bbb305

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ define([
5757
isValid = $.validator.validateSingleElement(this.options.cache.input),
5858
displayScore = zxcvbnScore || 1;
5959

60-
// Display score is based on combination of whether password is empty, valid, and zxcvbn strength
61-
if (isEmpty) {
62-
displayScore = 0;
63-
} else if (!isValid) {
64-
displayScore = 1;
65-
}
60+
// Display score is based on combination of whether password is empty, valid, and zxcvbn strength
61+
if (isEmpty) {
62+
displayScore = 0;
63+
} else if (!isValid) {
64+
displayScore = 1;
65+
}
6666

6767
// Update label
6868
this._displayStrength(displayScore);

0 commit comments

Comments
 (0)