# Setting: `email_login_enabled`

- **Constant:** `ConfigInterface::EMAIL_LOGIN_ENABLED`
- **Category:** `security`
- **Type:** `select`
- **Required:** yes
- **Sensitive:** no
- **Validation:** `required|string|max:255`
- **Placeholder / default hint:** `false`

## Description

Enable passwordless email login with 6-digit OTP codes sent to user email addresses (requires SMTP to be configured)

## Allowed options

- `true`
- `false`

## Change via CLI

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

## Change via API

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

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