File tree Expand file tree Collapse file tree 6 files changed +5
-81
lines changed Expand file tree Collapse file tree 6 files changed +5
-81
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
declare (strict_types=1 );
8
- namespace Magento \Captcha \Block \Checkout ;
8
+ namespace Magento \Captcha \Block \Customer \ AuthenticationPopup ;
9
9
10
- use Magento \Checkout \Block \Checkout \LayoutProcessorInterface ;
11
10
use Magento \Captcha \Helper \Data as HelperCaptcha ;
11
+ use Magento \Checkout \Block \Checkout \LayoutProcessorInterface ;
12
12
13
13
class LayoutProcessor implements LayoutProcessorInterface
14
14
{
Original file line number Diff line number Diff line change 40
40
<type name =" Magento\Checkout\Block\Onepage" >
41
41
<arguments >
42
42
<argument name =" layoutProcessors" xsi : type =" array" >
43
- <item name =" checkout_processor " xsi : type =" object" >Magento\Captcha\Block\CheckoutLayoutProcessor</item >
43
+ <item name =" captcha_processor " xsi : type =" object" >Magento\Captcha\Block\CheckoutLayoutProcessor</item >
44
44
</argument >
45
45
</arguments >
46
46
</type >
47
47
<type name =" Magento\Customer\Block\Account\AuthenticationPopup" >
48
48
<arguments >
49
49
<argument name =" layoutProcessors" xsi : type =" array" >
50
- <item name =" captcha_processor " xsi : type =" object" >Magento\Captcha\Block\Checkout \LayoutProcessor</item >
50
+ <item name =" authentication_popup_processor " xsi : type =" object" >Magento\Captcha\Block\Customer\AuthenticationPopup \LayoutProcessor</item >
51
51
</argument >
52
52
</arguments >
53
53
</type >
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -41,22 +41,19 @@ class AuthenticationPopup extends \Magento\Framework\View\Element\Template
41
41
* @param \Magento\Framework\View\Element\Template\Context $context
42
42
* @param array $data
43
43
* @param \Magento\Framework\Serialize\Serializer\Json|null $serializer
44
- * @param HttpContext $httpContext
45
44
* @param array $layoutProcessors
46
45
* @throws \RuntimeException
47
46
*/
48
47
public function __construct (
49
48
\Magento \Framework \View \Element \Template \Context $ context ,
50
49
array $ data = [],
51
50
?\Magento \Framework \Serialize \Serializer \Json $ serializer = null ,
52
- ?HttpContext $ httpContext = null ,
53
51
array $ layoutProcessors = []
54
52
) {
55
53
parent ::__construct ($ context , $ data );
56
54
$ this ->jsLayout = isset ($ data ['jsLayout ' ]) && is_array ($ data ['jsLayout ' ]) ? $ data ['jsLayout ' ] : [];
57
55
$ this ->serializer = $ serializer ?: \Magento \Framework \App \ObjectManager::getInstance ()
58
56
->get (\Magento \Framework \Serialize \Serializer \Json::class);
59
- $ this ->httpContext = $ httpContext ?: ObjectManager::getInstance ()->get (HttpContext::class);
60
57
$ this ->layoutProcessors = $ layoutProcessors ;
61
58
}
62
59
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class Form extends \Magento\Eav\Model\Form
15
15
* XML configuration paths for "Disable autocomplete on storefront" property
16
16
*/
17
17
public const XML_PATH_ENABLE_AUTOCOMPLETE = 'customer/password/autocomplete_on_storefront ' ;
18
-
18
+
19
19
/**
20
20
* Current module pathname
21
21
*
You can’t perform that action at this time.
0 commit comments