Method: Devise::Models::DatabaseAuthenticatable#send_password_change_notification?
- Defined in:
- lib/devise/models/database_authenticatable.rb
#send_password_change_notification? ⇒ Boolean (protected)
150 151 152 |
# File 'lib/devise/models/database_authenticatable.rb', line 150 def send_password_change_notification? self.class.send_password_change_notification && encrypted_password_changed? end |