Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Unify login route and account service
issue: NEXT-24324
author: Max
author_email: max@swk-web.com
author_github: @aragon999
---
- Added
Shopware\Core\Checkout\Customer\Exception\CustomerOptinNotCompletedException
exception which replaces theShopware\Core\Checkout\Customer\Exception\InactiveCustomerException
and will only be thrown if the opt in has not been completed, use the error snippetaccount.doubleOptinAccountAlert
starting from Shopware 6.6.0.0 - Deprecated
Shopware\Core\Checkout\Customer\Exception\InactiveCustomerException
useShopware\Core\Checkout\Customer\Exception\BadCredentialsException
orShopware\Core\Checkout\Customer\Exception\CustomerOptinNotCompletedException
instead
If the double opt in feature for the customer registration is enabled the customer accounts will be set active by default starting from Shopware 6.6.0.0. The validation now only considers if the customer has the double opt in registration enabled, i.e. the database value customer.double_opt_in_registration
equals 1
and if there exists an double opt in date in customer.double_opt_in_confirm_date
.