Module: Authlogic::ActsAsAuthentic::Password::Methods

Defined in:
lib/authlogic/acts_as_authentic/password.rb

Overview

The methods related to the password field.

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object


176
177
178
179
180
181
182
183
# File 'lib/authlogic/acts_as_authentic/password.rb', line 176

def self.included(klass)
  return if klass.crypted_password_field.nil?

  klass.class_eval do
    include InstanceMethods
    after_save :reset_password_changed
  end
end