From fb0c2bd61be7d97a5c0ab350da4c2dc70265d5fe Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 28 Apr 2014 08:27:35 +0000 Subject: [PATCH] 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(-) diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index cfe92d932e..6a5cdd6c81 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -2033,7 +2033,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;