File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
app/code/Magento/Backend/Controller/Adminhtml/System/Account Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,13 @@ class Save extends \Magento\Backend\Controller\Adminhtml\System\Account
20
20
21
21
/**
22
22
* @param \Magento\Backend\App\Action\Context $context
23
- * @param \Magento\Framework\Registry $coreRegistry
24
- * @param \Magento\User\Model\UserFactory $userFactory
25
23
* @param \Magento\Security\Helper\SecurityCookie $securityCookieHelper
26
24
*/
27
25
public function __construct (
28
26
\Magento \Backend \App \Action \Context $ context ,
29
- \Magento \Framework \Registry $ coreRegistry ,
30
- \Magento \User \Model \UserFactory $ userFactory ,
31
27
\Magento \Security \Helper \SecurityCookie $ securityCookieHelper
32
28
) {
33
- parent ::__construct ($ context, $ coreRegistry , $ userFactory );
29
+ parent ::__construct ($ context );
34
30
$ this ->securityCookieHelper = $ securityCookieHelper ;
35
31
}
36
32
@@ -81,7 +77,6 @@ public function execute()
81
77
$ this ->securityCookieHelper ->setLogoutReasonCookie (
82
78
\Magento \Security \Model \AdminSessionsManager::LOGOUT_REASON_USER_LOCKED
83
79
);
84
- $ this ->_redirect ('adminhtml/*/ ' );
85
80
} catch (ValidatorException $ e ) {
86
81
$ this ->messageManager ->addMessages ($ e ->getMessages ());
87
82
if ($ e ->getMessage ()) {
You can’t perform that action at this time.
0 commit comments