function isValid() { if (!parent::isValid()) { return false; } $sErrorString = bx_check_password($this->getCleanValue('ID'), $this->getCleanValue('Password'), $this->getRole()); $this->_setCustomError($sErrorString); return $sErrorString ? false : true; }
function isValid() { if (!parent::isValid()) { return false; } $sErrorMsg = ''; bx_alert('account', 'check_join', 0, false, array('error_msg' => &$sErrorMsg, 'email' => $this->getCleanValue('email'), 'approve' => &$this->_bSetPendingApproval)); if ($sErrorMsg) { $this->_setCustomError($sErrorMsg); } return $sErrorMsg ? false : true; }