Skip to content

Commit

Permalink
fix: Add strategy name to reset form IDs.
Browse files Browse the repository at this point in the history
Fixes #576.
  • Loading branch information
jimsynz committed Feb 10, 2025
1 parent 9710f98 commit 565cfd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ash_authentication_phoenix/components/reset.ex
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ defmodule AshAuthentication.Phoenix.Components.Reset do
auth_routes_prefix={@auth_routes_prefix}
strategy={strategy}
token={@token}
id="reset-form"
id={"#{strategy.name}-reset-form"}
label={false}
overrides={@overrides}
gettext_fn={@gettext_fn}
Expand Down

0 comments on commit 565cfd9

Please sign in to comment.