From 130ef3a6e73b7c211c8f9deec2401117e2245496 Mon Sep 17 00:00:00 2001 From: ppascher Date: Fri, 28 Jan 2022 19:35:24 +0100 Subject: [PATCH] Fix typo causing error on IPv6 login --- src/etc/inc/authgui.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/inc/authgui.inc b/src/etc/inc/authgui.inc index 0d14843b8..3899a9878 100644 --- a/src/etc/inc/authgui.inc +++ b/src/etc/inc/authgui.inc @@ -71,7 +71,7 @@ function check_security_dns_rebind() $http_host_port = explode("]", $_SERVER['HTTP_HOST']); /* v6 address has more parts, drop the last part */ if (count($http_host_port) > 1) { - array_pop($hfttp_host_port); + array_pop($http_host_port); $http_host = str_replace(["[", "]"], "", implode(":", $http_host_port)); } else { $http_host = str_replace(["[", "]"], "", implode(":", $http_host_port));