Customer Lists Preferences
You can use customer site preferences to control how your storefront responds to failed login attempts by customers. You can optionally lock out a customer's account after a specified number of failed attempts, preventing brute force attempts to crack the customer's password.
- Select Administration > Sites > Customer Lists.
- On the Customer Lists page, click a customer list or click Edit.
- For a new list, enter the required information and click Apply in the Customer List page General tab.
-
Select the Customer Number Sequence:
- Unique per organization
- Unique per customer list: select a starting value and enter a format pattern.
-
Configure the Customer Profile Retention.
Enter the number of days that Salesforce B2C Commerce stores customer profiles (1-99.999). Profiles are automatically removed for customers who have not visited the site within the specified number of days. Leave blank if you never want to remove customer profiles.Note: You can use the data cleanup job to delete expired customers.
- Select Administration > Operations > Jobs
-
Use job ssfcc-data-cleanup.
This job includes the job step CleanupExpiredCustomers. The step checks the customer retention value, in order, against LASTVISITTIME, LASTLOGINTIME, and CREATIONDATE. All customers who have been inactive for more than the defined retention days are marked as expired and processed for deletion.Note: For the production environments, the customer retention days is configured as 730 days.
-
Configure the Customer Login Settings.
-
Enable or disable customer lockout after the specified number
of tries.
This field is set to
True
by default for all customers to prevent brute-force password guessing attempts. Customers can wait 30 minutes for the lockout period to expire or reset their password immediately, which allows for account access and continued shopping. For site administrators, this field can be set toFalse
if they prefer to disable this security feature. - Enter a value for the Maximum Invalid Login Attempts, from 1 to 200.
- Select the Lockout Effective Period, from 1 minute to 10 days (default is 2 hours).
- Select the Login Attempt Reset Time, from Never to one day (default is one day).
- Select the Minimum Password Length.
- Enter the Minimum Password Special Characters ($%/()[]{}=?!.,-_*|+~#) required for a valid password.
-
Select if the password must contain letters. If
True
, select if any letter case or a mix of letter case is required. - Select if the password must contain numbers.
-
Select the Passwords Expire In interval, the period after
which a password expires, from Never to 90 days (default is
Never
).
-
Enable or disable customer lockout after the specified number
of tries.
- Click Apply to accept your changes, or Reset to reject your changes.
Related concepts
Infocenter Retirement: On June 30, 2023, the Infocenter was retired, and documentation currently hosted on the Infocenter will be published to Salesforce Help, Commerce Cloud Developer Center, and Salesforce B2C Commerce Developer Documentation Resources. For more information, see the release note.