> For the complete documentation index, see [llms.txt](https://rs.ppgg.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rs.ppgg.in/alternative-deployments/disable-the-admin-token.md).

# 5.禁用管理令牌

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

{% hint style="info" %}
任何人都将可以访问管理页面。
{% endhint %}

如果您有其他方式对 `/admin` 页面进行身份验证，则可以将 `DISABLE_ADMIN_TOKEN` 变量设置为 `true`。这将禁用内置的 `ADMIN_TOKEN` 身份验证功能，同时启用管理面板。可以访问此 URL 的任何人都可以访问管理面板。您需要采取额外的步骤（包括外部和本地）来对它提供保护。

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


---

# 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://rs.ppgg.in/alternative-deployments/disable-the-admin-token.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.
