diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index 9489689cc9..7a8b5ad73b 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -375,6 +375,7 @@ document.location.href="{$my_redirurl}"; EOD; } else { + captiveportal_unlock(); header("Location: " . $my_redirurl); }