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