From dc5c69f1228f66dce031f1300ae8ed48485d73d9 Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 28 Apr 2014 08:27:35 +0000 Subject: Correct the ridirection URL to unbreak ones passed through Radius attributes and repsect user choices. Reported-by: Antoine Guillemot --- etc/inc/captiveportal.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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; -- cgit v1.1