Skip to content

Commit

Permalink
fix: confirmation warning 'changeset has already been validated for a…
Browse files Browse the repository at this point in the history
…ction'
  • Loading branch information
stentroad authored and jimsynz committed Nov 6, 2024
1 parent c0353a3 commit 4cae6cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ defmodule AshAuthentication.AddOn.Confirmation.ConfirmChange do

changeset
|> Changeset.force_change_attributes(allowed_changes)
|> Changeset.change_attribute(strategy.confirmed_at_field, DateTime.utc_now())
|> Changeset.force_change_attribute(strategy.confirmed_at_field, DateTime.utc_now())
else
_ ->
changeset
Expand Down

0 comments on commit 4cae6cf

Please sign in to comment.