diff options
author | jim-p <jimp@pfsense.org> | 2010-07-15 13:06:07 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-07-15 13:07:00 -0400 |
commit | 2e12b76c9002d3f05e400523ab0c7558daa4dd2e (patch) | |
tree | fa4f846ce20b05fd1d5558bca09eddca461fba3c /usr/local/captiveportal | |
parent | 47a5384dd3ec8c2a2a6fc237f0b7f5482110a39d (diff) | |
download | pfsense-2e12b76c9002d3f05e400523ab0c7558daa4dd2e.zip pfsense-2e12b76c9002d3f05e400523ab0c7558daa4dd2e.tar.gz |
Pull in RADIUS reply messages for logout page.
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-x | usr/local/captiveportal/index.php | 5 |
1 files changed, 5 insertions, 0 deletions
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 { |