# Setting: `login_default_method`

- **Constant:** `ConfigInterface::LOGIN_DEFAULT_METHOD`
- **Category:** `auth_page`
- **Type:** `select`
- **Required:** yes
- **Sensitive:** no
- **Validation:** `required|string|max:64`
- **Placeholder / default hint:** `local`

## Description

Default sign-in panel on the login page (local, ldap, email_code, discord, or oidc). Falls back to the first available method if the choice is hidden or unavailable.

## Allowed options

- `local`
- `ldap`
- `email_code`
- `discord`
- `oidc`

## Change via CLI

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

## Change via API

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

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