<?xml version="1.0"?>

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <!-- API Preferences -->
    <!-- <preference for="Magento\Customer\Controller\Account\Create" type="BlueLogic\ExtendedCustomer\Controller\Account\Create" /> -->
    <type name="Magento\Customer\Model\Account\Redirect">
        <plugin name="NewAcctRedirectPlug" type="BlueLogic\ExtendedCustomer\Plugin\Redirect" disabled="false" sortOrder="1"/>
    </type>
<!--    <type name="Magento\Customer\Controller\Account\LoginPost">-->
<!--        <plugin name="SignInRedirectPlug" type="BlueLogic\ExtendedCustomer\Plugin\RedirectLogin" sortOrder="1"/>-->
<!--    </type>-->
    <preference for="BlueLogic\ExtendedCustomer\Api\OtpSenderRepositoryInterface" type="BlueLogic\ExtendedCustomer\Model\OtpSenderRepository" />
    <preference for="BlueLogic\ExtendedCustomer\Api\CustomerAccountInterface" type="BlueLogic\ExtendedCustomer\Model\CustomerAccountRepository" />
    <preference for="Magento\Contact\Controller\Index\Post"
                type="BlueLogic\ExtendedCustomer\Override\Controller\Index\Post"/>
</config>
