From: Alan Date: Thu, 7 Sep 2023 02:49:22 +0000 (+0800) Subject: flag authentication failures X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=commitdiff_plain;h=8b7c3f96125e0de8e3676a2b90140b9e8fab948a flag authentication failures --- diff --git a/Pman/Roo.php b/Pman/Roo.php index 7de8612..cc11188 100644 --- a/Pman/Roo.php +++ b/Pman/Roo.php @@ -67,10 +67,10 @@ class Pman_Roo extends Pman $au = $this->getAuthUser(); if (!$au) { - $this->jerr("Not authenticated", array('authFailure' => true)); + $this->jerror("LOGIN-NOAUTH", "Not authenticated", array('authFailure' => true)); } if (!$au->pid() ) { // not set up yet.. - $this->jerr("Not authenticated", array('authFailure' => true)); + $this->jerror("LOGIN-NOAUTH", "Not authenticated", array('authFailure' => true)); }