> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base44.com/llms.txt
> Use this file to discover all available pages before exploring further.

# auth password-login

> Enable or disable username and password login in your local auth config

Configure whether end users can sign in to your app with an email address and password. This is the CLI equivalent of toggling the "Email and password" option in your app's [authentication settings](/Setting-up-your-app/Managing-login-and-registration).

This command updates your local auth config file. To apply the change to your deployed app, run [`auth push`](/developers/references/cli/commands/auth-push) or [`deploy`](/developers/references/cli/commands/deploy).

## Usage

Enable username and password login:

```bash theme={null}
base44 auth password-login enable
```

Disable username and password login:

```bash theme={null}
base44 auth password-login disable
```

## Arguments

| Argument            | Description                                          | Required |
| ------------------- | ---------------------------------------------------- | -------- |
| `<enable\|disable>` | Whether to enable or disable password authentication | Yes      |

<Warning>
  If disabling password login would leave your app with no active login methods, the command warns that users will be locked out. Enable an alternative login method, such as Google or SSO, before disabling password login.
</Warning>

## See also

* [`auth social-login`](/developers/references/cli/commands/auth-social-login): Enable or disable social login providers
* [`auth pull`](/developers/references/cli/commands/auth-pull): Fetch auth config from Base44 to your local project
* [`auth push`](/developers/references/cli/commands/auth-push): Push local auth config to Base44
* [`deploy`](/developers/references/cli/commands/deploy): Deploy all project resources, including auth config
* [Managing login and registration](/Setting-up-your-app/Managing-login-and-registration): Configure login options in the dashboard
