mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-19 12:52:55 +12:00
parent
3cb72cdd8f
commit
0f6e677e4b
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue