Ash FrameworkAF
Ash Framework3y ago
2 replies
Blibs

How to bypass ConfirmationHookChange in a specific action

In my resource, I set monitor_fields to be [:email].

Now I want to add an action that it "forcefully" change the user e-mail bypassing the whole confirmation process.

Basically the idea is to use that function as an admin-only function.

I don't believe that is possible curretly with the ConfirmationHookChange implementation, but I was wondering if it would make sense to add some way to do that to the lib.
Was this page helpful?