Method: Devise::Models::DatabaseAuthenticatable#clean_up_passwords
- Defined in:
- lib/devise/models/database_authenticatable.rb
permalink #clean_up_passwords ⇒ Object
Set password and password confirmation to nil
49 50 51 |
# File 'lib/devise/models/database_authenticatable.rb', line 49 def clean_up_passwords self.password = self.password_confirmation = nil end |