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

index 4a9cf27..cfa9c59 100644 (file)
@@ -465,7 +465,7 @@ class Pman_Login extends Pman
         $ip = $this->ip_lookup();
         
         if(empty($ip)){
-            return false;
+            $this->jerr('BAD-IP-ADDRESS');
         }
         
         $core_ip_access = DB_DataObject::factory('core_ip_access');