From f404068815e08996b020ce42342497f580e06502 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 9 Mar 2016 14:19:59 +0800 Subject: [PATCH] JavascriptError.php --- JavascriptError.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JavascriptError.php b/JavascriptError.php index 50b0fa8e..93ff3bc6 100644 --- a/JavascriptError.php +++ b/JavascriptError.php @@ -9,7 +9,8 @@ class Pman_Core_JavascriptError extends Pman { parent::getAuth(); // load company! $au = $this->getAuthUser(); - if (!$au) { + if (!$au) { + // fixme... this needs to be rate limited.... $this->jerr("Not authenticated", array('authFailure' => true)); } if (!$au->pid() ) { // not set up yet.. -- 2.39.2