How to use Phoenix Pow Custom Controller Callbacks

Hi, does anyone know how to use custom controller callbacks when you’ve already specified a controller callbacks module in config? I have:

config :cards, :pow,
...
  extensions: [PowResetPassword, PowEmailConfirmation],
  controller_callbacks: Pow.Extension.Phoenix.ControllerCallbacks

and if I change the controller_callbacks value to something custom (as suggested here: https://github.com/danschultzer/pow#phoenix-controllers) then the extensions don’t work. Is there a way to have both?

Thanks

I found a solution (from the author himself): https://github.com/danschultzer/pow/issues/240#issuecomment-515778842

1 Like