Skip to content

Commit bf44554

Browse files
author
Vadim Zubovich
committed
Merge branch 'spm-131-PRs-stabilization' into 'PR2'
Spm 131 p rs stabilization See merge request !176
2 parents 771d908 + 678f47e commit bf44554

File tree

1 file changed

+1
-6
lines changed
  • app/code/Magento/Backend/Controller/Adminhtml/System/Account

1 file changed

+1
-6
lines changed

app/code/Magento/Backend/Controller/Adminhtml/System/Account/Save.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,13 @@ class Save extends \Magento\Backend\Controller\Adminhtml\System\Account
2020

2121
/**
2222
* @param \Magento\Backend\App\Action\Context $context
23-
* @param \Magento\Framework\Registry $coreRegistry
24-
* @param \Magento\User\Model\UserFactory $userFactory
2523
* @param \Magento\Security\Helper\SecurityCookie $securityCookieHelper
2624
*/
2725
public function __construct(
2826
\Magento\Backend\App\Action\Context $context,
29-
\Magento\Framework\Registry $coreRegistry,
30-
\Magento\User\Model\UserFactory $userFactory,
3127
\Magento\Security\Helper\SecurityCookie $securityCookieHelper
3228
) {
33-
parent::__construct($context, $coreRegistry, $userFactory);
29+
parent::__construct($context);
3430
$this->securityCookieHelper = $securityCookieHelper;
3531
}
3632

@@ -81,7 +77,6 @@ public function execute()
8177
$this->securityCookieHelper->setLogoutReasonCookie(
8278
\Magento\Security\Model\AdminSessionsManager::LOGOUT_REASON_USER_LOCKED
8379
);
84-
$this->_redirect('adminhtml/*/');
8580
} catch (ValidatorException $e) {
8681
$this->messageManager->addMessages($e->getMessages());
8782
if ($e->getMessage()) {

0 commit comments

Comments
 (0)