docs: fixed the strategy example in the Usage section of README.md. (#108)

This commit is contained in:
Bruno Ripa 2022-12-23 20:34:41 +00:00 committed by GitHub
parent 3e94e79f92
commit ceb5cdcfae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ defmodule MyApp.Accounts.User do
api MyApp.Accounts
strategies do
password do
password :password do
identity_field :email
hashed_password_field :hashed_password
end

View file

@ -28,7 +28,7 @@ defmodule AshAuthentication do
api MyApp.Accounts
strategies do
password do
password :password do
identity_field :email
hashed_password_field :hashed_password
end