Skip to content

Commit 64858b3

Browse files
committed
MC-22950: Enable 2FA by default for Admins
- Removed uneeded property
1 parent 096d1e7 commit 64858b3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

TwoFactorAuth/Block/ConfigureLater.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Magento\Authorization\Model\UserContextInterface;
1111
use Magento\Backend\Block\Template;
1212
use Magento\Backend\Block\Template\Context;
13-
use Magento\Backend\Model\Auth\Session;
1413
use Magento\Framework\Data\Form\FormKey;
1514
use Magento\Framework\Serialize\SerializerInterface;
1615
use Magento\TwoFactorAuth\Api\TfaInterface;
@@ -25,11 +24,6 @@ class ConfigureLater extends Template
2524
*/
2625
private $tfa;
2726

28-
/**
29-
* @var Session
30-
*/
31-
private $session;
32-
3327
/**
3428
* @var SerializerInterface
3529
*/
@@ -43,7 +37,6 @@ class ConfigureLater extends Template
4337
/**
4438
* ChangeProvider constructor.
4539
* @param Context $context
46-
* @param Session $session
4740
* @param TfaInterface $tfa
4841
* @param SerializerInterface $serializer
4942
* @param FormKey $formKey
@@ -52,7 +45,6 @@ class ConfigureLater extends Template
5245
*/
5346
public function __construct(
5447
Context $context,
55-
Session $session,
5648
TfaInterface $tfa,
5749
SerializerInterface $serializer,
5850
FormKey $formKey,
@@ -61,7 +53,6 @@ public function __construct(
6153
) {
6254
parent::__construct($context, $data);
6355
$this->tfa = $tfa;
64-
$this->session = $session;
6556
$this->serializer = $serializer;
6657
$this->formKey = $formKey;
6758
$this->userContext = $userContext;

0 commit comments

Comments
 (0)