Repository navigation
7.89.0
·
3 commits
to master
since this release
Included commits: 7.88.0...7.89.0
Improvements
- Adjusted
CustomerFacade::updateCustomerPassword()to limit the number of password change attempts per customer and to return thecustomer.password.change_limit_exceedederror when the limit is exceeded. Every attempt counts, also an attempt with a wrong current password. - Introduced
CustomerConfig::getPasswordChangeAttemptLimit()andCustomerConfig::getPasswordChangeAttemptLimitTtl()to configure the attempt limit and its time window. - Introduced
SecurityCheckAttemptContextandSecurityCheckAttemptResponsetransfers.
Adjustments
- Added
spryker/security-blockerdependency. - Adjusted
Customer\Business\Customer\Customer::__construct()to require the newPasswordChangeLimiterInterface $passwordChangeLimiterparameter. A project class that extendsCustomeror overridesCustomerBusinessFactory::createCustomer()must pass it.