diff --git a/documentation/dsls/DSL:-AshAuthentication.Strategy.Password.cheatmd b/documentation/dsls/DSL:-AshAuthentication.Strategy.Password.cheatmd index dcaa58b..a3ceca8 100644 --- a/documentation/dsls/DSL:-AshAuthentication.Strategy.Password.cheatmd +++ b/documentation/dsls/DSL:-AshAuthentication.Strategy.Password.cheatmd @@ -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" diff --git a/lib/ash_authentication/strategies/password.ex b/lib/ash_authentication/strategies/password.ex index fbdd344..5fd54b2 100644 --- a/lib/ash_authentication/strategies/password.ex +++ b/lib/ash_authentication/strategies/password.ex @@ -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"