Pman/Login.php
authoredward <edward@roojs.com>
Tue, 9 Jan 2018 09:54:34 +0000 (17:54 +0800)
committeredward <edward@roojs.com>
Tue, 9 Jan 2018 09:54:34 +0000 (17:54 +0800)
Pman/Login.php

index 7bb319d..bf84c47 100644 (file)
@@ -47,8 +47,6 @@ class Pman_Login extends Pman
     {
         $this->initErrorHandling();
         
-        $this->ip_validate();
-        
          //DB_DataObject::DebugLevel(1);
         if (!empty($_REQUEST['logout'])) {
            return $this->logout();
@@ -503,7 +501,7 @@ class Pman_Login extends Pman
         }
         
         if($core_ip_access->status == -1){
-            $this->jok('BLOCK');
+            $this->jok('BLOCKED');
         }
         
         $this->jok('APPROVED');