Pman/Login.php
authoredward <edward@roojs.com>
Thu, 15 Feb 2018 05:21:08 +0000 (13:21 +0800)
committeredward <edward@roojs.com>
Thu, 15 Feb 2018 05:21:08 +0000 (13:21 +0800)
Pman/Login.php

index a596f75..5a08494 100644 (file)
@@ -520,7 +520,7 @@ class Pman_Login extends Pman
             return;
         }
         
-        if(strtotime($core_ip_access->expire_dt) > 0 && strtotime($core_ip_access->expire_dt) < strtotime('NOW')){
+        if($core_ip_access->status == -2 && strtotime($core_ip_access->expire_dt) < strtotime('NOW')){
             $this->jerr('BLOCKED-IP-ADDRESS', array('ip' => $ip));
             return;
         }