I need to do some operation(logging, update database etc) post sign in while using devise irrespective of which controller it redirects to. How can I do this?
I need to do some operation(logging, update database etc) post sign in while using
Share
You can use Warden’s
after_authenticationcallback.From Devise’s README: Devise is based on Warden, which is a general Rack authentication framework.