Class: PasswordEditForm

Inherits:
ActiveForm
  • Object
show all
Defined in:
app/models/password_edit_form.rb

Instance Method Summary collapse

Instance Method Details

#to_credential_hashObject



23
24
25
26
27
# File 'app/models/password_edit_form.rb', line 23

def to_credential_hash
  return {
    :hashed_password => EmailCredential.create_hashed_password(self.password.to_s),
  }
end