# `mix ash_authentication.add_strategy.password`
[🔗](https://github.com/team-alembic/ash_authentication/blob/main/lib/mix/tasks/ash_authentication.add_strategy.password.ex#L7)

Adds password authentication to your user resource

## Example

```bash
mix ash_authentication.add_strategy.password
```

## Options

* `--user`, `-u` -  The user resource. Defaults to `YourApp.Accounts.User`
* `--identity-field`, `-i` - The field on the user resource that will be used to identify
  the user. Defaults to `email`
* `--hash-provider` - The hash provider to use, either `bcrypt` or `argon2`. Defaults to `bcrypt`.

# `igniter`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
