module Authlogic::ActsAsAuthentic::Password::Callbacks

Callbacks / hooks to allow other modules to modify the behavior of this module.

Constants

METHODS

Does the order of this array matter?

Public Class Methods

included(klass) click to toggle source
# File lib/authlogic/acts_as_authentic/password.rb, line 165
def self.included(klass)
  return if klass.crypted_password_field.nil?
  klass.send :extend, ActiveModel::Callbacks
  METHODS.each do |method|
    klass.define_model_callbacks method, only: %i[before after]
  end
end