mirror of
https://github.com/team-alembic/ash_authentication_phoenix.git
synced 2024-09-20 05:23:55 +12:00
fix: resettable is no longer a list
This commit is contained in:
parent
33fe39d24f
commit
c37c441032
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ defmodule AshAuthentication.Phoenix.Components.Reset do
|
||||||
|> Enum.sort_by(&Info.authentication_subject_name!/1)
|
|> Enum.sort_by(&Info.authentication_subject_name!/1)
|
||||||
|> Stream.flat_map(&Info.authentication_strategies/1)
|
|> Stream.flat_map(&Info.authentication_strategies/1)
|
||||||
|> Stream.filter(&is_struct(&1, Password))
|
|> Stream.filter(&is_struct(&1, Password))
|
||||||
|> Enum.filter(&Enum.any?(&1.resettable))
|
|> Enum.filter(&(&1.resettable))
|
||||||
|
|
||||||
socket =
|
socket =
|
||||||
socket
|
socket
|
||||||
|
|
Loading…
Reference in a new issue