Pman/Login.php
authoredward <edward@roojs.com>
Thu, 11 Jan 2018 03:22:03 +0000 (11:22 +0800)
committeredward <edward@roojs.com>
Thu, 11 Jan 2018 03:22:03 +0000 (11:22 +0800)
Pman/Login.php

index 5eedefd..c8ded4e 100644 (file)
@@ -499,11 +499,11 @@ class Pman_Login extends Pman
         }
         
         if(empty($core_ip_access->status)){
-            $this->jerr('PENDING-IP-ADDRESS');
+            $this->jerr('PENDING-IP-ADDRESS', array('ip' => $ip));
         }
         
         if($core_ip_access->status == -1){
-            $this->jerr('BLOCKED-IP-ADDRESS');
+            $this->jerr('BLOCKED-IP-ADDRESS', array('ip' => $ip));
         }
         
         return true;