fix: resettable is no longer a list

This commit is contained in:
Zach Daniel 2023-09-23 15:22:03 -04:00
parent 33fe39d24f
commit c37c441032

View file

@ -47,7 +47,7 @@ defmodule AshAuthentication.Phoenix.Components.Reset do
|> Enum.sort_by(&Info.authentication_subject_name!/1)
|> Stream.flat_map(&Info.authentication_strategies/1)
|> Stream.filter(&is_struct(&1, Password))
|> Enum.filter(&Enum.any?(&1.resettable))
|> Enum.filter(&(&1.resettable))
socket =
socket