2 // FIXME... auth errors need ratelimiting
4 require_once 'Pman.php';
6 class Pman_Core_JavascriptError extends Pman {
11 parent::getAuth(); // load company!
12 $au = $this->getAuthUser();
16 $this->jerr("Not authenticated", array('authFailure' => true));
18 if (!$au->pid() ) { // not set up yet..
19 $this->jerr("Not authenticated", array('authFailure' => true));
23 $this->authUser = $au;
31 $this->addEvent("JSERROR", false,$_REQUEST['msg']);