> ## 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.

# base44 auth password-login

> Enable or disable username & password authentication for your Base44 app.

<Warning>
  This page is part of an AI coding agent skill and is written for agents, not humans. For the human-readable Base44 docs, see the [developer documentation](/developers).
</Warning>

# base44 auth password-login

Enable or disable username & password authentication for your Base44 app.

## Syntax

```bash theme={null}
npx base44 auth password-login <enable|disable>
```

## Arguments

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

## Examples

```bash theme={null}
# Enable username & password authentication
npx base44 auth password-login enable

# Disable username & password authentication
npx base44 auth password-login disable
```

## Notes

* Updates the local auth config file only — run `npx base44 auth push` or `npx base44 deploy` to apply the change to Base44.
* Disabling password auth when no other login methods are enabled will warn you that users will be locked out.
