# This file is part of the Sylius package.
# (c) Sylius Sp. z o.o.

sylius_shop_user_request_verification_token:
    path: /verify
    methods: [POST]
    defaults:
        _controller: sylius.controller.shop_user::requestVerificationTokenAction
        _sylius:
            redirect: sylius_shop_account_dashboard

sylius_shop_user_verification:
    path: /verify/{token}
    methods: [GET]
    defaults:
        _controller: sylius.controller.shop_user::verifyAction
        _sylius:
            redirect: sylius_shop_account_dashboard
