## Login policy (`login-policy`)

No authentication needed. Tells whether an account needs an email or SMS code to log in, with the masked destination.

Authentication: No auth · Docs: https://www-demo.kuxitong.com/en/docs/api/login-policy

### GET `/api/v2/login-policy`

Get login policy · Authentication: No auth

Query parameters:

| Field | Type | Required | Description |
|---|---|---|---|
| `account` | string | Yes | Login name (username, email or phone number) |

```sh
curl "https://panel.example.com/api/v2/login-policy"
```

Login policy object:

| Field | Type | Required | Description |
|---|---|---|---|
| `email` | string |  | Masked email |
| `login_verify` | LoginVerify |  | Second-factor login: none means not required; email / sms also require an email/SMS code at login (the platform must allow it and the address must be bound) Values: ["none","email","sms"] |
| `phone` | string |  | Masked phone number |
