Module: Authentication::Logic::ActsAsAuthentic::Password::Methods
- Defined in:
- lib/auth/logic/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
| 179 180 181 182 183 184 185 186 | # File 'lib/auth/logic/acts_as_authentic/password.rb', line 179 def self.included(klass) return if klass.crypted_password_field.nil? klass.class_eval do include InstanceMethods after_save :reset_password_changed end end |