Skip to content

Commit 35e9f37

Browse files
author
Mike Weis
committed
MAGETWO-57065: [Github] admin stuck on " It's time to change your password." #4331- fix for 2.0
- updated per code review
1 parent 1c4e5e8 commit 35e9f37

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

app/code/Magento/User/Observer/Backend/TrackAdminNewPasswordObserver.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,6 @@ class TrackAdminNewPasswordObserver implements ObserverInterface
3535
*/
3636
protected $authSession;
3737

38-
/**
39-
* Encryption model
40-
*
41-
* @var \Magento\Framework\Encryption\EncryptorInterface
42-
*/
43-
protected $encryptor;
44-
4538
/**
4639
* Message manager interface
4740
*
@@ -53,20 +46,17 @@ class TrackAdminNewPasswordObserver implements ObserverInterface
5346
* @param \Magento\User\Model\Backend\Config\ObserverConfig $observerConfig
5447
* @param \Magento\User\Model\ResourceModel\User $userResource
5548
* @param \Magento\Backend\Model\Auth\Session $authSession
56-
* @param \Magento\Framework\Encryption\EncryptorInterface $encryptor
5749
* @param \Magento\Framework\Message\ManagerInterface $messageManager
5850
*/
5951
public function __construct(
6052
\Magento\User\Model\Backend\Config\ObserverConfig $observerConfig,
6153
\Magento\User\Model\ResourceModel\User $userResource,
6254
\Magento\Backend\Model\Auth\Session $authSession,
63-
\Magento\Framework\Encryption\EncryptorInterface $encryptor,
6455
\Magento\Framework\Message\ManagerInterface $messageManager
6556
) {
6657
$this->observerConfig = $observerConfig;
6758
$this->userResource = $userResource;
6859
$this->authSession = $authSession;
69-
$this->encryptor = $encryptor; // no longer used
7060
$this->messageManager = $messageManager;
7161
}
7262

0 commit comments

Comments
 (0)