# Setting: `vds_reauth_mode`

- **Constant:** `ConfigInterface::VDS_REAUTH_MODE`
- **Category:** `vds`
- **Type:** `select`
- **Required:** yes
- **Sensitive:** no
- **Validation:** `required|string|in:off,password,2fa_or_password`
- **Placeholder / default hint:** `off`

## Description

Ask users to re-confirm dangerous VDS actions: off, password = account password, 2fa_or_password = 2FA code when the user has 2FA enabled, otherwise the password.

## Allowed options

- `off`
- `password`
- `2fa_or_password`

## Change via CLI

```bash
featherpanel saas getsetting vds_reauth_mode
featherpanel saas setsetting vds_reauth_mode "<value>"
```

## Change via API

```http
PATCH /api/admin/settings
Content-Type: application/json

{ "vds_reauth_mode": "<value>" }
```
