Get json from resetting password in devise

Hey all,

When logging in and out using devise I know to override the
sign_in_and_redirect method that devise provides in my users sessions
controller, however when I want to get json response when resetting
password, I dont know what method to override and where. I do know of
recoverable module has a method called reset_password that I found
when digging through their code:

But Im not sure if this si the method that I can use to get json
response without breaking anything and I also dont know where to
override this module in my app.

thanks for response

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs