<?php
-
+// FIXME... auth errors need ratelimiting
class Pman_Core_JavascriptError extends Pman {
parent::getAuth(); // load company!
$au = $this->getAuthUser();
- if (!$au) {
+ if (!$au) {
+
$this->jerr("Not authenticated", array('authFailure' => true));
}
if (!$au->pid() ) { // not set up yet..
}
+ function get()
+ {
+
+ $this->addEvent("JSERROR", false,$_REQUEST['msg']);
+
+ }
+
+
}