> For the complete documentation index, see [llms.txt](https://docs.theseaai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.theseaai.com/main/ch/accountsetup/an-quan-she-zhi.md).

# 安全设置

## 多重身份验证

MFA 会在登录时增加一个额外的验证步骤。启用后，组织中的每位成员都必须使用身份验证器应用（TOTP）才能访问 Beachside。

### 为你的组织启用 MFA

启用 MFA 后，它将适用于组织中的所有成员。尚未注册的成员将在下次登录时被要求设置 MFA。

* 所有成员下次登录时都会被提示注册。
* 在完成注册之前，成员无法访问 Beachside。
* 在注册过程中，成员还会收到恢复码（一次性备用码）。

{% hint style="info" %}
**只有组织管理员可以启用 MFA。**\
在开启之前，请确保你可以使用身份验证器应用，这样你就能完成 MFA 登录并避免把自己锁在外面。
{% endhint %}

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FzXs7uSovAkH9ZA56oGyV%2Fimage.png?alt=media&amp;token=93d66d09-a584-4edf-ab3b-90ae9121ab74" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}

#### **转到&#x20;**<kbd><mark style="color:$primary;">**团队**<mark style="color:$primary;"></kbd>**&#x20;在顶部导航中**

{% endstep %}

{% step %}

#### **转到&#x20;**<kbd><mark style="color:$primary;">**组织设置**<mark style="color:$primary;"></kbd>

你可以在左侧边栏、团队下方找到它。
{% endstep %}

{% step %}

#### **点击&#x20;**<kbd><mark style="color:$primary;">**启用 MFA**<mark style="color:$primary;"></kbd>

该按钮位于右侧。点击后会打开一个弹出层。
{% endstep %}

{% step %}

#### **点击&#x20;**<kbd><mark style="color:$primary;">**启用 MFA**<mark style="color:$primary;"></kbd>

确认你要为组织中的所有用户启用 MFA。
{% endstep %}
{% endstepper %}

***

### 为成员重置 MFA

当有人丢失手机、更换设备，或无法访问其身份验证器应用和恢复码时，请使用此功能。

* 所有成员下次登录时都会被提示注册。
* 在完成注册之前，成员无法访问 Beachside。
* 在注册过程中，成员还会收到恢复码（一次性备用码）。

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2Fxyp01klIgkHWBm7mr3mc%2Fimage.png?alt=media&amp;token=eaf0d8c1-c39a-463b-9c4e-20b8798137dc" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}

#### **转到&#x20;**<kbd><mark style="color:$primary;">**团队**<mark style="color:$primary;"></kbd>**&#x20;在顶部导航中**

{% endstep %}

{% step %}

#### **转到&#x20;**<kbd><mark style="color:$primary;">**管理所有成员**<mark style="color:$primary;"></kbd>

你可以在左侧边栏、团队下方找到它。
{% endstep %}

{% step %}

#### **在列表中找到团队成员**

你也可以搜索他们的姓名或电子邮件地址。
{% endstep %}

{% step %}

#### **将鼠标悬停在该成员上并选择**  <i class="fa-ellipsis-vertical">:ellipsis-vertical:</i>

{% endstep %}

{% step %}

#### **点击&#x20;**<kbd><mark style="color:$primary;">**重置身份验证器**<mark style="color:$primary;"></kbd>

{% endstep %}
{% endstepper %}

***

## 解锁被锁定的成员

Beachside 会在以下情况后锁定账户： <mark style="color:$primary;">**`5 次登录失败尝试`**</mark> & <mark style="color:$primary;">**`3 次验证码验证失败尝试`**</mark> 以防止密码或验证码被猜测。因登录失败而被锁定的成员需要管理员解锁；因 MFA 验证失败而被锁定的成员可以使用恢复码恢复，或者你也可以为其重置。

### 在团队管理页面查找被锁定的成员

被锁定的成员会在成员列表中显示状态，告诉你原因以及应采取的操作：

<table><thead><tr><th width="156.0390625">锁定原因 1</th><th width="296.234375">管理员操作</th><th>成员操作</th></tr></thead><tbody><tr><td>5 次登录失败尝试 </td><td><ol><li>确认请求确实来自该成员本人</li><li>点击 <mark style="color:$primary;"><strong><code>解锁用户</code></strong></mark>  会自动向成员发送密码重置电子邮件</li></ol></td><td><ol><li>接收用于重置密码的电子邮件</li><li>点击邮件中的链接完成重置流程</li><li>重新登录 </li></ol></td></tr></tbody></table>

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FInKxPKeGFXmwipCiKyvU%2Fimage%2010.png?alt=media&amp;token=2f27cba4-ed46-45b5-a811-8d18b035cbad" alt=""><figcaption><p>已锁定 - 登录尝试过多</p></figcaption></figure>

<table><thead><tr><th width="153.8671875">锁定原因 2</th><th width="303.76171875">管理员操作</th><th>成员操作</th></tr></thead><tbody><tr><td>3 次验证码验证失败尝试</td><td><ol><li>确认请求确实来自该成员本人</li><li>点击 <mark style="color:$primary;"><strong><code>重置身份验证器</code></strong></mark> 会自动向成员发送身份验证器重置电子邮件</li></ol></td><td><ol><li>接收用于重置身份验证器的电子邮件</li><li>点击邮件中的链接重新登录并重置验证码</li></ol></td></tr></tbody></table>

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2F2s8PSZrRWMeqptKzgHZG%2Fimage%2011.png?alt=media&amp;token=62384470-f677-4b9b-afe5-a7d86ebc3116" alt=""><figcaption><p>已锁定 - 身份验证代码尝试过多</p></figcaption></figure>

### 在你解锁之后

该成员会收到一封电子邮件，用于重设密码或 MFA 代码。成功完成重置后，他们就可以再次登录。

***

## 常见问题

<details>

<summary><strong>当管理员被锁定时会发生什么？</strong></summary>

你可以联系团队中的其他管理员来帮你解锁。如果你是唯一的管理员且被锁定，请联系我们的支持团队恢复访问权限。

</details>

<details>

<summary><strong>成员说自己被锁定了，但我没看到状态。</strong></summary>

刷新列表，或检查他们是否已经使用恢复码自行恢复——恢复后状态就会清除。

</details>

<details>

<summary><strong>我可以解锁一个没有被锁定的账户吗？</strong></summary>

不可以——只有账户确实处于锁定状态时，解锁才适用。不过，MFA 验证可以随时重置。

</details>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.theseaai.com/main/ch/accountsetup/an-quan-she-zhi.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
