| @@ -99,11 +99,13 @@ | ||
| 99 | 99 | $ips[] = $resolved_ip; |
| 100 | 100 | } |
| 101 | 101 | } |
| 102 | 102 | |
| 103 | - // All is good. IP's were unblocked. | |
| 103 | + // No valid or pending tokens found. | |
| 104 | 104 | if ( array() === $ips ) { |
| 105 | - return true; | |
| 105 | + $this->log( 'Unlock Me. Incorrect result. No pending tokens.', Firewall::FIREWALL_LOG ); | |
| 106 | + | |
| 107 | + return false; | |
| 106 | 108 | } |
| 107 | 109 | // Work with IP's. |
| 108 | 110 | $ips = array_unique( $ips ); |
| 109 | 111 | $first_ip = $ips[0]; |