Skip to content

Commit 6f77707

Browse files
author
Joan He
committed
MAGETWO-38635: Security - password management 2
1 parent 511f526 commit 6f77707

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

app/code/Magento/Customer/Block/Form/Register.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public function getMinimumPasswordLength()
208208
}
209209

210210
/**
211-
* Get required character classes number
211+
* Get number of password required character classes
212212
*
213213
* @return string
214214
*/

app/code/Magento/Customer/Controller/Account/EditPost.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ public function __construct(
9595
*/
9696
public function setAccountManagementHelper(AccountManagement $accountManagementHelper)
9797
{
98-
9998
$this->accountManagementHelper = $accountManagementHelper;
10099
}
101100

@@ -107,7 +106,6 @@ public function setAccountManagementHelper(AccountManagement $accountManagementH
107106
*/
108107
public function getAccountManagementHelper()
109108
{
110-
111109
if (!($this->accountManagementHelper instanceof \Magento\Customer\Helper\AccountManagement)) {
112110
return \Magento\Framework\App\ObjectManager::getInstance()->get(
113111
'Magento\Customer\Helper\AccountManagement'
@@ -138,7 +136,6 @@ public function setEmailNotification(\Magento\Customer\Helper\EmailNotification
138136
*/
139137
public function getEmailNotification()
140138
{
141-
142139
if (!($this->emailNotification instanceof \Magento\Customer\Helper\EmailNotification)) {
143140
return \Magento\Framework\App\ObjectManager::getInstance()->get(
144141
'Magento\Customer\Helper\EmailNotification'

app/code/Magento/Customer/Controller/Account/LoginPost.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ public function __construct(
7575
*/
7676
public function setScopeConfig(ScopeConfigInterface $scopeConfig)
7777
{
78-
7978
$this->scopeConfig = $scopeConfig;
8079
}
8180

@@ -87,7 +86,6 @@ public function setScopeConfig(ScopeConfigInterface $scopeConfig)
8786
*/
8887
public function getScopeConfig()
8988
{
90-
9189
if (!($this->scopeConfig instanceof \Magento\Framework\App\Config\ScopeConfigInterface)) {
9290
return \Magento\Framework\App\ObjectManager::getInstance()->get(
9391
'Magento\Framework\App\Config\ScopeConfigInterface'

0 commit comments

Comments
 (0)