docs: fix identity_field in User example (#156)

This commit is contained in:
Miguel Serrano 2023-03-09 12:53:24 +01:00 committed by GitHub
parent 124a9101ca
commit 6166bc7ed8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -224,7 +224,7 @@ defmodule Example.Accounts.User do
strategies do
password :password do
identity_field(:unique_email)
identity_field(:email)
end
end