<?xml version="1.0" encoding="UTF-8"?>

<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
    <services>

        <service id="admin_platform.event_listener.canonicalizer" class="Platform\Bundle\AdminBundle\EventListener\CanonicalizerListener">
            <argument type="service" id="sylius.canonicalizer" />

            <tag name="doctrine.event_listener" event="prePersist" />
            <tag name="doctrine.event_listener" event="preUpdate" />
        </service>

        <service id="admin_platform.listener.password_updater" class="Sylius\Bundle\UserBundle\EventListener\PasswordUpdaterListener">
            <argument type="service" id="sylius.security.password_updater" />
            <tag name="kernel.event_listener" event="admin_platform.admin_user.pre_update" method="genericEventUpdater" />
        </service>

    </services>
</container>

<?xml version="1.0" encoding="UTF-8"?>

<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
    <services>

        <service id="admin_platform.event_listener.canonicalizer" class="Platform\Bundle\AdminBundle\EventListener\CanonicalizerListener">
            <argument type="service" id="sylius.canonicalizer" />

            <tag name="doctrine.event_listener" event="prePersist" />
            <tag name="doctrine.event_listener" event="preUpdate" />
        </service>

        <service id="admin_platform.listener.password_updater" class="Sylius\Bundle\UserBundle\EventListener\PasswordUpdaterListener">
            <argument type="service" id="sylius.security.password_updater" />
            <tag name="kernel.event_listener" event="sylius.admin_user.pre_update" method="genericEventUpdater" />
        </service>

    </services>
</container>

Fix password updater event listener
Fix password updater event listener
