You must configure the check path to be handled by the firewall

Hello,

After updating packages:
“coreshop/core-shop”: “^2.1”,
“pimcore/pimcore”: “~6.0.0”,
“symfony/symfony”: “^4.3.0”,

to newer packages:
corshop: 2.2
pimcore 6.6.9
symfony: 4.4.0

I have changed versions, a lot, only specific old versions work as it used to.
Right now, if I update coreshop to newer packages our custom pimcore login does not work anymore.

1 Like

p.s. I haven’t created that custom login page, that’s why I’m struggling with it, and I’m no expert on Symfony or their configuration files, as it seems to me is a cause of problems.

pimcore:
security:
encoder_factories:
Pimcore\Model\DataObject\TopLineDealer: dealer_bundle.security.password_encoder_factory

security:
providers:
top_line_dealer_customer:
id: DealerBundle\Security\ObjectUserProvider

firewalls:
    dealer_frontend:
        anonymous: ~
        context: dealer
        user_checker: DealerBundle\Security\DealerUserChecker
        request_matcher: DealerBundle\Security\DealerSiteRequestMatcher
        logout_on_user_change: true
        form_login:
            login_path: top_line_dealer_login
            check_path: top_line_dealer_login_check
            provider: top_line_dealer_customer
            failure_path: top_line_dealer_login
            default_target_path: top_line_dealer_index
            use_forward: false
            use_referer: true
        remember_me:
            secret: "%secret%"
            name: APP_TOP_LINE_DEALER_REMEMBER_ME
            lifetime: 31536000
            remember_me_parameter: _remember_me
        logout:
            path: top_line_dealer_logout
            target: top_line_dealer_login
            invalidate_session: false
    coreshop_frontend:
        request_matcher: DealerBundle\Security\CoreShopRequestMatcher

role_hierarchy:
    ROLE_TOP_LINE_ADMIN: [ROLE_TOP_LINE_MODERATOR, ROLE_TOP_LINE_USER]
    ROLE_TOP_LINE_MODERATOR: ROLE_TOP_LINE_USER
    ROLE_TOP_LINE_USER: ~