Skip to content
Philip Sampaio edited this page Jan 30, 2017 · 4 revisions

The following callbacks are available for you to override in your resource models:

  • after_confirmation
  • after_database_authentication

These methods are called if the associated workflows are successful. There are currently no failure callbacks.

An after_password_reset callback was deprecated in 3.5.1. Issue #3631 suggests two options:

  • a before_save callback on your model that checks for a change in the encrypted password field
  • override reset_password(new_password, new_password_confirmation) in your model, call super and do the extra work.

You also have Warden's callbacks available.

Clone this wiki locally