Commit 8f5a725f authored by Ad Schellevis's avatar Ad Schellevis

(captiveportal, current) redirect after radius auth (https://github.com/opnsense/core/issues/396)

parent 812d35ab
......@@ -220,6 +220,8 @@ EOD;
} elseif ($auth_list['auth_val'] == 3) {
captiveportal_logportalauth($user, $clientmac, $clientip, "FAILURE", $auth_list['reply_message']);
portal_reply_page($redirurl, $type, $auth_list['reply_message'] ? $auth_list['reply_message'] : $errormsg);
} else {
portal_reply_page($redirurl, "redir", "Just redirect the user.");
}
} else {
if (!empty($_POST['auth_user'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment