> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/authentication/llms.txt)
> Source: https://docs.saleor.io/api-reference/authentication/enums/password-login-mode-enum

# PasswordLoginModeEnum Enum

Controls whether password-based authentication is allowed.

ENABLED - any user can log in with a password. This is the default behavior. CUSTOMERS\_ONLY - only customer users can log in with a password. If a staff user logs in with a password, they will be treated as a customer — the issued token will not contain any staff permissions. DISABLED - no user can log in with a password.

<a id="values"></a>

### Values

<a id="enabled"></a>

#### [`ENABLED`](#enabled)

<a id="customers-only"></a>

#### [`CUSTOMERS_ONLY`](#customers-only)

<a id="disabled"></a>

#### [`DISABLED`](#disabled)

<a id="member-of"></a>

### Member Of

[`Shop`](/api-reference/miscellaneous/objects/shop.md) object  ● [`ShopSettingsInput`](/api-reference/miscellaneous/inputs/shop-settings-input.md) input
