10
10
use Magento \Authorization \Model \UserContextInterface ;
11
11
use Magento \Backend \Block \Template ;
12
12
use Magento \Backend \Block \Template \Context ;
13
- use Magento \Backend \Model \Auth \Session ;
14
13
use Magento \Framework \Data \Form \FormKey ;
15
14
use Magento \Framework \Serialize \SerializerInterface ;
16
15
use Magento \TwoFactorAuth \Api \TfaInterface ;
@@ -25,11 +24,6 @@ class ConfigureLater extends Template
25
24
*/
26
25
private $ tfa ;
27
26
28
- /**
29
- * @var Session
30
- */
31
- private $ session ;
32
-
33
27
/**
34
28
* @var SerializerInterface
35
29
*/
@@ -43,7 +37,6 @@ class ConfigureLater extends Template
43
37
/**
44
38
* ChangeProvider constructor.
45
39
* @param Context $context
46
- * @param Session $session
47
40
* @param TfaInterface $tfa
48
41
* @param SerializerInterface $serializer
49
42
* @param FormKey $formKey
@@ -52,7 +45,6 @@ class ConfigureLater extends Template
52
45
*/
53
46
public function __construct (
54
47
Context $ context ,
55
- Session $ session ,
56
48
TfaInterface $ tfa ,
57
49
SerializerInterface $ serializer ,
58
50
FormKey $ formKey ,
@@ -61,7 +53,6 @@ public function __construct(
61
53
) {
62
54
parent ::__construct ($ context , $ data );
63
55
$ this ->tfa = $ tfa ;
64
- $ this ->session = $ session ;
65
56
$ this ->serializer = $ serializer ;
66
57
$ this ->formKey = $ formKey ;
67
58
$ this ->userContext = $ userContext ;
0 commit comments