Skip to content

7.89.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 30 Oct 14:40
· 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 the customer.password.change_limit_exceeded error when the limit is exceeded. Every attempt counts, also an attempt with a wrong current password.
  • Introduced CustomerConfig::getPasswordChangeAttemptLimit() and CustomerConfig::getPasswordChangeAttemptLimitTtl() to configure the attempt limit and its time window.
  • Introduced SecurityCheckAttemptContext and SecurityCheckAttemptResponse transfers.

Adjustments

  • Added spryker/security-blocker dependency.
  • Adjusted Customer\Business\Customer\Customer::__construct() to require the new PasswordChangeLimiterInterface $passwordChangeLimiter parameter. A project class that extends Customer or overrides CustomerBusinessFactory::createCustomer() must pass it.