Your IP : 216.73.216.97


Current Path : /var/www/clients/client3/web2/web/vendor/magento/module-captcha/etc/frontend/
Upload File :
Current File : /var/www/clients/client3/web2/web/vendor/magento/module-captcha/etc/frontend/di.xml

<?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="Magento\Checkout\Model\CompositeConfigProvider">
        <arguments>
            <argument name="configProviders" xsi:type="array">
                <item name="checkout_captcha_config_provider" xsi:type="object">Magento\Captcha\Model\Checkout\ConfigProvider</item>
            </argument>
        </arguments>
    </type>
    <type name="Magento\Captcha\Model\Checkout\ConfigProvider">
        <arguments>
            <argument name="formIds" xsi:type="array">
                <item name="user_login" xsi:type="string">user_login</item>
            </argument>
        </arguments>
    </type>
    <type name="Magento\Captcha\CustomerData\Captcha">
        <arguments>
            <argument name="formIds" xsi:type="array">
                <item name="user_login" xsi:type="string">user_login</item>
            </argument>
        </arguments>
    </type>
    <type name="Magento\Customer\CustomerData\SectionPoolInterface">
        <arguments>
            <argument name="sectionSourceMap" xsi:type="array">
                <item name="captcha" xsi:type="string">Magento\Captcha\CustomerData\Captcha</item>
            </argument>
        </arguments>
    </type>
    <type name="Magento\Sales\Api\OrderManagementInterface">
        <plugin name="reset_payment_attempts_after_order_is_placed_plugin" type="Magento\Captcha\Plugin\ResetPaymentAttemptsAfterOrderIsPlacedPlugin"/>
    </type>
</config>