summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-04-28 08:27:35 +0000
committerErmal <eri@pfsense.org>2014-04-28 08:27:56 +0000
commitdc5c69f1228f66dce031f1300ae8ed48485d73d9 (patch)
treeacdbb0da1fd6238ac30b4613113290bb3934d010
parenta6711d23f83ea8fa40b3aebd917ac157adf4c97b (diff)
downloadpfsense-dc5c69f1228f66dce031f1300ae8ed48485d73d9.zip
pfsense-dc5c69f1228f66dce031f1300ae8ed48485d73d9.tar.gz
Correct the ridirection URL to unbreak ones passed through Radius attributes and repsect user choices. Reported-by: Antoine Guillemot
-rw-r--r--etc/inc/captiveportal.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 6f7cb92..ea2f116 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -1995,7 +1995,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut
include("{$g['varetc_path']}/captiveportal-{$cpzone}-logout.html");
} else {
- portal_reply_page($redirurl, "redir", "Just redirect the user.");
+ portal_reply_page($my_redirurl, "redir", "Just redirect the user.");
}
return $sessionid;
OpenPOWER on IntegriCloud