Skip to content

Commit f8f2b20

Browse files
committed
Reverted changes
1 parent ceb9d11 commit f8f2b20

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ define([
3131
this.options.cache.input = $(this.options.passwordSelector, this.element);
3232
this.options.cache.meter = $(this.options.passwordStrengthMeterSelector, this.element);
3333
this.options.cache.label = $(this.options.passwordStrengthMeterLabelSelector, this.element);
34-
35-
// We need to look outside the module for backward compatibility, since someone can already use the module.
36-
// @todo Narrow this selector in 2.3 so it doesn't accidentally finds the email field from the
37-
// newsletter email field or any other "email" field.
38-
this.options.cache.email = $(this.options.formSelector).find(this.options.emailSelector);
3934
this._bind();
4035
},
4136

0 commit comments

Comments
 (0)