docs: update reset password documentation to include 2FA disabling instructions

This commit is contained in:
Mauricio Siu 2025-06-22 09:03:49 -06:00
parent a8b0fd41b9
commit 4b243c7fd2

View File

@ -1,10 +1,12 @@
---
title: Reset Password
description: "Reset your password to access your Dokploy account."
title: Reset Password & 2FA
description: "Reset your password to access your Dokploy account and disable 2FA."
---
import { Step, Steps } from 'fumadocs-ui/components/steps';
## Reset Password
To reset your password, follow these steps:
<Steps>
@ -38,4 +40,42 @@ It will display a random password. Copy it and use it to access again to the das
</Step>
</Steps>
</Steps>
## Reset 2FA
To disable 2FA, follow these steps:
To reset your password, follow these steps:
<Steps>
<Step>
Log in to your VPS.
</Step>
<Step>
Run the command below to get the container ID of the dokploy container.
```bash
docker ps
```
</Step>
<Step>
Run command below to open a shell in the dokploy container.
```bash
docker exec -it <container-id> bash -c "pnpm run reset-2fa"
```
</Step>
<Step>
It will display a random password. Copy it and use it to access again to the dashboard.
</Step>
</Steps>