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 die("authenticated Users only");
18 if (!$au->pid() ) { // not set up yet..
19 die("authenticated Users only");
23 $this->authUser = $au;
35 $this->addEvent("JSERROR", false,$_REQUEST['msg']);