diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-12-12 16:55:57 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-12-12 16:55:57 +0000 |
commit | 56ea4f477a1c94a606ec5833956914a72fd65686 (patch) | |
tree | f66f669176511e617949665ca92195b3bf22e971 | |
parent | 317e8e1a660577d35a516da6bc0e8fc3dd016ca9 (diff) | |
download | pfsense-56ea4f477a1c94a606ec5833956914a72fd65686.zip pfsense-56ea4f477a1c94a606ec5833956914a72fd65686.tar.gz |
Revert $type commit. This is being set by the called function per Jonathon.
-rwxr-xr-x | usr/local/captiveportal/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index 865267f..71bf804 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -237,7 +237,7 @@ function portal_mac_radius($clientmac,$clientip) { function portal_allow($clientip,$clientmac,$username,$password = null, $attributes = null, $ruleno = null) { - global $redirurl, $g, $config, $url_redirection; + global $redirurl, $g, $config, $url_redirection, $type; /* See if a ruleno is passed, if not start locking the sessions because this means there isn't one atm */ if ($ruleno == null) { @@ -335,7 +335,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut $clientip, $clientmac); if ($acct_val == 1) - captiveportal_logportalauth($username,$clientmac,$clientip,$cpdb[$i][2],"RADIUS ACCOUNTING FAILED"); + captiveportal_logportalauth($username,$clientmac,$clientip,$type,"RADIUS ACCOUNTING FAILED"); } |