projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f404068
)
JavascriptError.php
author
Alan Knowles
<alan@roojs.com>
Wed, 9 Mar 2016 06:20:13 +0000
(14:20 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 9 Mar 2016 06:20:13 +0000
(14:20 +0800)
JavascriptError.php
patch
|
blob
|
history
diff --git
a/JavascriptError.php
b/JavascriptError.php
index
93ff3bc
..
be9e303
100644
(file)
--- a/
JavascriptError.php
+++ b/
JavascriptError.php
@@
-1,5
+1,5
@@
<?php
-
+// FIXME... auth errors need ratelimiting
class Pman_Core_JavascriptError extends Pman {
@@
-10,7
+10,7
@@
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..