Skip to content

Commit 55b9b9e

Browse files
committed
Revert "Merge remote-tracking branch 'origin/AC-8823-v1' into spartans_pr_13062023"
This reverts commit c22c108, reversing changes made to 827073a.
1 parent 68159d0 commit 55b9b9e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/code/Magento/Customer/Test/Mftf/Test/StorefrontLoginFormShowPasswordTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</actionGroup>
3131
<actionGroup ref="StorefrontLoginFormClickShowPasswordActionGroup" stepKey="clickShowPasswordCheckbox"/>
3232
<actionGroup ref="AssertLoginFormPasswordFieldActionGroup" stepKey="AssertPasswordField">
33-
<argument name="passwordFieldType" value="text"/>
33+
<argument name="passwordFieldType" value="password"/>
3434
</actionGroup>
3535
</test>
3636
</tests>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* Copyright © Magento, Inc. All rights reserved.
3-
* See COPYING.txt for license details.
4-
*/
2+
* Copyright © Magento, Inc. All rights reserved.
3+
* See COPYING.txt for license details.
4+
*/
55

66
define([
77
'jquery',
@@ -38,7 +38,7 @@ define([
3838
* @private
3939
*/
4040
_showPassword: function (isChecked) {
41-
$('input' + this.passwordSelector).attr('type',
41+
$(this.passwordSelector).attr('type',
4242
isChecked ? this.textInputType : this.passwordInputType
4343
);
4444
}

0 commit comments

Comments
 (0)