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.
2 Replies
ZachDaniel
ZachDaniel2y ago
yeah, I think a manual action and an argument might be the only way...but you;re right this should definitely she allowed somehow
Blibs
BlibsOP2y ago
Ah, I didn't though about a manual action, I will try that, thanks

Did you find this page helpful?