Correct the ridirection URL to unbreak ones passed through Radius attributes and repsect user choices. Reported-by: Antoine Guillemot

This commit is contained in:
Ermal 2014-04-28 08:27:35 +00:00
parent 686777c419
commit fb0c2bd61b

View File

@ -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;