From 8b7c3f96125e0de8e3676a2b90140b9e8fab948a Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 7 Sep 2023 10:49:22 +0800 Subject: [PATCH] flag authentication failures --- Pman/Roo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); } -- 2.39.2