flag authentication failures
authorAlan <alan@roojs.com>
Thu, 7 Sep 2023 02:49:22 +0000 (10:49 +0800)
committerAlan <alan@roojs.com>
Thu, 7 Sep 2023 02:49:22 +0000 (10:49 +0800)
Pman/Roo.php

index 7de8612..cc11188 100644 (file)
@@ -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));
         }