docs: fix incorrect username in example.

Closes #460.
This commit is contained in:
James Harton 2023-10-30 09:35:27 +13:00
parent 3cb72cdd8f
commit 00751e09bd
Signed by: james
GPG key ID: 90E82DAA13F624F4
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ Interacting with the actions directly:
...> marty.username |> to_string()
"marty"
...> {:ok, user} = Strategy.action(strategy, :sign_in, %{"username" => "outatime1985", "password" => "outatime1985"})
...> {:ok, user} = Strategy.action(strategy, :sign_in, %{"username" => "marty", "password" => "outatime1985"})
...> user.username |> to_string()
"marty"

View file

@ -62,7 +62,7 @@ defmodule AshAuthentication.Strategy.Password do
...> marty.username |> to_string()
"marty"
...> {:ok, user} = Strategy.action(strategy, :sign_in, %{"username" => "outatime1985", "password" => "outatime1985"})
...> {:ok, user} = Strategy.action(strategy, :sign_in, %{"username" => "marty", "password" => "outatime1985"})
...> user.username |> to_string()
"marty"