mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-20 05:13:10 +12:00
docs: fixed the strategy example in the Usage
section of README.md
. (#108)
This commit is contained in:
parent
3e94e79f92
commit
ceb5cdcfae
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue