for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Spryker Commerce OS.
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
namespace Pyz\Yves\CustomerPage;
use SprykerShop\Yves\CustomerPage\CustomerPageConfig as SprykerCustomerPageConfig;
class CustomerPageConfig extends SprykerCustomerPageConfig
{
* @var bool
protected const CUSTOMER_SECURITY_BLOCKER_ENABLED = true;
* @uses \Pyz\Zed\Customer\CustomerConfig::MIN_LENGTH_CUSTOMER_PASSWORD
*
* @var int
protected const MIN_LENGTH_CUSTOMER_PASSWORD = 12;
* @uses \Pyz\Zed\Customer\CustomerConfig::MAX_LENGTH_CUSTOMER_PASSWORD
protected const MAX_LENGTH_CUSTOMER_PASSWORD = 128;
protected const IS_ORDER_HISTORY_SEARCH_ENABLED = true;
* @var string
protected const PASSWORD_VALIDATION_PATTERN = '/^(?=.*[A-Z])(?=.*[a-z])(?=.*\d)(?=.*[!@#$%^&*()\_\-\=\+\[\]\{\}\|;:<>.,\/?\\~])[A-Za-z\d!@#$%^&*()\_\-\=\+\[\]\{\}\|;:<>.,\/?\\~]+$/';
protected const PASSWORD_VALIDATION_MESSAGE = 'global.password.invalid_password';
* {@inheritDoc}
* @return bool
public function isDoubleOptInEnabled(): bool
return true;
}
* @api
* @deprecated Will be removed without replacement. If the future the locale-specific URL will be used.
public function isLocaleInLoginCheckPath(): bool
public function isRememberMeEnabled(): bool
return false;
* Specification:
* - Returns the pattern for customer password validation.
* @return string
public function getCustomerPasswordPattern(): string
return static::PASSWORD_VALIDATION_PATTERN;
* - Returns the message for customer password validation.
public function getPasswordValidationMessage(): string
return static::PASSWORD_VALIDATION_MESSAGE;