Skip to content

Commit

Permalink
Add missing require_atomic
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-klasson committed Jul 14, 2024
1 parent dad18ff commit 9b8faf5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion documentation/tutorials/confirmation.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ defmodule MyApp.Accounts.User do

update :confirm_change do
argument :confirm, :string, allow_nil?: false, public?: true

accept [:email]
require_atomic? false
change AshAuthentication.AddOn.Confirmation.ConfirmChange
change AshAuthentication.GenerateTokenChange
change MyApp.UpdateCrmSystem, only_when_valid?: true
Expand Down

0 comments on commit 9b8faf5

Please sign in to comment.