<?xml version="1.0" ?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
    <system>
        <tab id="codilar" translate="label" sortOrder="50">
            <label>codilar</label>
        </tab>
        <section id="codilar_customer" sortOrder="10" showInWebsite="1" showInStore="1" showInDefault="1"
                 translate="label">
            <label>Customer</label>
            <tab>codilar</tab>
            <resource>Codilar_Customer::config_codilar_customer</resource>
            <group id="otp_login" sortOrder="5" showInWebsite="1" showInStore="1" showInDefault="1"
                   translate="label">
                <label>OTP Configuration</label>
                <field id="enable" type="select" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0"
                       translate="label">
                    <label>To enable OTP based log in form</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                </field>
                <field id="enable_mobile_num_otp_verification" type="select" sortOrder="12" showInDefault="1" showInWebsite="0" showInStore="0"
                       translate="label">
                    <label>Enable OTP Verification for Mobile Number Update</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <comment>Enable OTP verification when adding or updating a mobile number.</comment>
                </field>
                <field id="address_book_otp_verification" type="select" sortOrder="14" showInDefault="1"
                       showInWebsite="0" showInStore="0" translate="label">
                    <label>OTP for Mobile Number in Address Book</label>
                    <source_model>Codilar\Customer\Model\Config\AddressBookConfig</source_model>
                    <comment>
                        Enable OTP verification when adding or updating a mobile number in Checkout and My account Address Book
                    </comment>
                </field>
            </group>
        </section>
    </system>
</config>
