/** * Override GetAuth- don't bother authenticating if encrypted password available */ function GetAuth($command) { global $USER; // Only try this if authentication has not been requested if ($_GET['auth'] != '1') { if (isset($USER->epassword) && $USER->epassword != '' && class_exists('encryption')) { $this->setauth(); return true; } } return parent::GetAuth($command); }