module Devise::Models::DatabaseAuthenticatable
def update_without_password(params, *options)
end
super(params)
params.delete(:email)
def update_without_password(params={})
Example:
attributes you would not like to be updated without a password.
method, you should probably override this method to protect other
Never allows a change to the current password. If you are using this
Updates record attributes without asking for the current password.
def update_without_password(params, *options) params.delete(:password) params.delete(:password_confirmation) result = update_attributes(params, *options) clean_up_passwords result end