X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.php;h=2ac52cf4fa36bed7b32bcc3712dea881129da58d;hb=1359bfe271af465762264f9b96b53eab43eb4a91;hp=c1a3824ed115fc5d8e19ba603fc38e5d6304d92f;hpb=8614a5c53bc78a9cc5a9416f9b116be341de1311;p=Pman.Base diff --git a/Pman.php b/Pman.php index c1a3824..2ac52cf 100644 --- a/Pman.php +++ b/Pman.php @@ -464,9 +464,9 @@ class Pman extends HTML_FlexyFramework_Page $au = $this->authUser; if ($au) { // is it an authfailure? - $this->jerr("Permission denied to view this resource", array('authFailure' => true)); + $this->jerror("LOGIN-NOPERM", "Permission denied to view this resource", array('authFailure' => true)); } - $this->jerr("Not authenticated", array('authFailure' => true)); + $this->jerror("LOGIN-NOAUTH", "Not authenticated", array('authFailure' => true)); }