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: then the extensions don’t work. Is there a way to have both?


I found a solution (from the author himself):