> For the complete documentation index, see [llms.txt](https://reference-guide.gitbook.io/crm-back-office-user-guide-full/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://reference-guide.gitbook.io/crm-back-office-user-guide-full/crm-back-office-user-guide-full-cn/17.-settings/client-portal-security-settings/failed-login-attempt-limit.md).

# Failed Login Attempt Limit

You can define limits on failed login attempts for both clients and admins, triggering automatic account suspension after repeated failures to mitigate security risks.

### <mark style="color:red;">1. Setting Up Failed Login Attempt Limit</mark>

To setup failed login attempt limit, follow these steps:

{% stepper %}
{% step %}

#### Navigate to Security Settings

1. Navigate to Settings > Security Settings.
2. Click the "Edit" icon.<br>

   <figure><img src="/files/kPbAdDFSEz5vyyo2dIX9" alt=""><figcaption></figcaption></figure>

{% endstep %}

{% step %}

#### Configure Failed Login Attempt Limit

1. Fill in the maximum failed login attempts allowed.
2. Click "Save".<br>

   <figure><img src="/files/mqP6KTlXEijgx2LyuNyR" alt=""><figcaption></figcaption></figure>

{% endstep %}
{% endstepper %}

### <mark style="color:red;">2. Application</mark>

1. When your client or admin user's login attempt has failed, they will see a notification to inform them of the remaining number of attempts remaining.\
   \
   &#x20;![](https://reference-guide.gitbook.io/~gitbook/image?url=https%3A%2F%2F2882407036-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FtcPc3eNiDR0XV3sykf6H%252Fuploads%252FINcerCnft2h81SfmJcj4%252Fimage.png%3Falt%3Dmedia%26token%3D70728e86-c841-446b-9517-50d5b8370ff7\&width=300\&dpr=4\&quality=100\&sign=88dd1386\&sv=2)<br>
2. If the failed login attempt reaches the maximum limit configured, a notification will be displayed to inform the client or admin user that their account has been suspended. \
   \
   ![](https://reference-guide.gitbook.io/~gitbook/image?url=https%3A%2F%2F2882407036-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FtcPc3eNiDR0XV3sykf6H%252Fuploads%252FIwOpJqpJakWqSJuDXDtP%252Fimage.png%3Falt%3Dmedia%26token%3D917b0612-352b-4824-b8f2-716f34d0566b\&width=300\&dpr=4\&quality=100\&sign=86976a34\&sv=2)<br>
3. To enable the account, you will need to do the following:
   1. For client accounts, locate the account under the "Clients" list and click the "Unsuspend" icon.

      <figure><img src="https://reference-guide.gitbook.io/~gitbook/image?url=https%3A%2F%2F2882407036-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FtcPc3eNiDR0XV3sykf6H%252Fuploads%252FzEfjaoh8q7kqDiP8jQEn%252Fimage.png%3Falt%3Dmedia%26token%3D535d4a74-e5a4-461c-8e35-0ef06d29b8d3&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=9215a930&#x26;sv=2" alt=""><figcaption></figcaption></figure>
   2. For user accounts, under "User Management", click the "Filter" icon and select "Suspended" as the Account Status. You will see a list of suspended users. Locate the user you wish to enable and click the "Unsuspend" icon.

      <figure><img src="https://reference-guide.gitbook.io/~gitbook/image?url=https%3A%2F%2F2882407036-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FtcPc3eNiDR0XV3sykf6H%252Fuploads%252FVUp5urzu9DWYbF1OQ03M%252Fimage.png%3Falt%3Dmedia%26token%3D92656920-bdf5-4252-a967-fce3fb8761de&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=875df134&#x26;sv=2" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://reference-guide.gitbook.io/crm-back-office-user-guide-full/crm-back-office-user-guide-full-cn/17.-settings/client-portal-security-settings/failed-login-attempt-limit.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
