From 2e12b76c9002d3f05e400523ab0c7558daa4dd2e Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 15 Jul 2010 13:06:07 -0400 Subject: Pull in RADIUS reply messages for logout page. --- usr/local/captiveportal/index.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'usr/local/captiveportal') diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index 32c8853..7d432e2 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -477,6 +477,11 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut $logouturl = "http://{$ourhostname}/"; } + if (isset($attributes['reply_message'])) + $message = $attributes['reply_message']; + else + $message = 0; + include("{$g['varetc_path']}/captiveportal-logout.html"); } else { -- cgit v1.1