<?xml version="1.0"?>
<!--
/**
 * Hyvä Themes - https://hyva.io
 * Copyright © Hyvä Themes. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <head>
        <title>Forgot Your Password?</title>
    </head>
    <body>
        <referenceBlock name="root">
            <action method="setHeaderTitle">
                <argument translate="true" name="title" xsi:type="string">Password forgotten</argument>
            </action>
        </referenceBlock>
        <referenceContainer name="content">
            <!--
            Marking this block as cacheable="false" isn't strictly needed as this page is perfectly cacheable,
            but due to Magento's default Varnish VCL file containing a condition to not process any url that contains '/customer', if we do let this page be cacheable,
            it will give issues and ESI tags on this page won't get processed by Varnish

            See https://gitlab.hyva.io/hyva-themes/magento2-default-theme/-/issues/1228
            -->
            <block class="Magento\Customer\Block\Account\Forgotpassword" name="forgotPassword" template="Magento_Customer::form/forgotpassword.phtml" cacheable="false">
                <container name="customer.form.forgotpassword.fields.before" as="form_fields_before"/>
                <container name="form.additional.info" as="form_additional_info"/>
            </block>
        </referenceContainer>
    </body>
</page>
