mjordan / ip_range_access

Drupal 10 Context module to control access to content based on user's IP address
GNU General Public License v2.0
1 stars 2 forks source link

"Negate the condition" not working as expected #1

Closed mjordan closed 4 years ago

mjordan commented 5 years ago

Logic hurts brain.

mjordan commented 5 years ago

No matter what logic I implement in https://github.com/mjordan/ip_range_access/blob/master/src/Plugin/Condition/UserIpAddress.php#L68 the condition is firing. I'd appreciate a second set of eyes on this.

mjordan commented 4 years ago

After some simplification of the code, this works as intended now (as of 5bf42c093ef1dbf5f5963f5a8cbbd7d9e29fecf3).