resetPassword() public method

Reset password action. Stores new password as hash and sends email to confirm use.
public resetPassword ( )
 /**
  * Reset password action. Decrypts received password values and then calls
  * the original (parent class) function for regular processing.
  *
  * @see the parent class function for parameters and return value
  */
 public function resetPassword()
 {
     $form = new FormResetPassword();
     // check if "encrypted" flag is set
     if (Common::getRequestVar('form_encrypted', 'false', 'string') == 'true') {
         $this->decryptPassword($form, 'form_password');
         $this->decryptPassword($form, 'form_password_bis');
     }
     // call the original function on the decrypted values
     return parent::resetPassword();
 }