Skip to content

Commit 75d305f

Browse files
committed
ACP2E-3657: Weak Password Management
1 parent 797d709 commit 75d305f

File tree

2 files changed

+2
-1
lines changed
  • app/code/Magento/User

2 files changed

+2
-1
lines changed

app/code/Magento/User/Controller/Adminhtml/User/Save.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class Save extends \Magento\User\Controller\Adminhtml\User implements HttpPostAc
2929
*
3030
* @return SecurityCookie
3131
* @deprecated 100.1.0
32+
* @see we don't recommend this approach anymore
3233
*/
3334
private function getSecurityCookie()
3435
{

app/code/Magento/User/Test/Unit/Controller/Adminhtml/User/SaveTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public function testExecuteValidationFailure()
151151
$this->controller->expects($this->once())
152152
->method('redirectToEdit')
153153
->with($this->userModelMock, $postData)
154-
->willReturnCallback(function ($model, $data) {
154+
->willReturnCallback(function ($_, $data) {
155155
$this->sessionMock->setUserData($data);
156156
});
157157
$this->controller->execute();

0 commit comments

Comments
 (0)