# 5.禁用邀请

{% hint style="success" %}
对应的[官方页面地址](https://github.com/dani-garcia/vaultwarden/wiki/Disable-invitations)
{% endhint %}

即使禁用了注册功能，组织管理员或所有者也可以邀请用户加入组织。受邀请后，他们也可以使用受邀请的电子邮箱来注册，即使 `SIGNUPS_ALLOWED` 已设置为 `false`。您可以通过将 `INVITATIONS_ALLOWED` 环境变量设置为 `false` 来完全禁用此功能：

```shell
docker run -d --name vaultwarden \
  -e SIGNUPS_ALLOWED=false \
  -e INVITATIONS_ALLOWED=false \
  -v /vw-data/:/data/ \
  -p 80:80 \
  vaultwarden/server:latest
```


---

# Agent Instructions: 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://rs.ppgg.in/configuration/disable-invitations.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.
