add authFailure so check works
authorAlan <alan@roojs.com>
Thu, 2 Mar 2023 04:08:40 +0000 (12:08 +0800)
committerAlan <alan@roojs.com>
Thu, 2 Mar 2023 04:08:40 +0000 (12:08 +0800)
Pman/Login.php

index f759770..e309cdc 100644 (file)
@@ -82,7 +82,7 @@ class Pman_Login extends Pman
             $this->switchPublicUser($_REQUEST['loginPublic']);
         }
         if (!empty($_SERVER['HTTP_USER_AGENT']) && preg_match('/^check_http/', $_SERVER['HTTP_USER_AGENT'])) {
-                       die("server is alive");
+                       die("server is alive = authFailure");
                }
         $this->jerr("INVALID REQUEST");
         exit;