summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/captiveportal/index.php')
-rwxr-xr-xusr/local/captiveportal/index.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php
index c2ff37f..71a2d53 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -336,9 +336,6 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut
$clientip,
$clientmac);
- if(!$type)
- log_error("WARNING: \$type has not been set in captiveportal/index.php");
-
if ($acct_val == 1)
captiveportal_logportalauth($username,$clientmac,$clientip,$type,"RADIUS ACCOUNTING FAILED");
}
OpenPOWER on IntegriCloud