From c212193d87c16fc0968e4a673517b09518e23338 Mon Sep 17 00:00:00 2001 From: leiweibau <105860611+leiweibau@users.noreply.github.com> Date: Fri, 5 Aug 2022 23:16:28 +0200 Subject: [PATCH] redo https://github.com/leiweibau/Pi.Alert/commit/d1d79691dd39451d7cfcbf74c49dbe0b9559a273 --- front/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/index.php b/front/index.php index 1308c49d..02507ed1 100644 --- a/front/index.php +++ b/front/index.php @@ -29,7 +29,7 @@ $config_file_lines_bypass = array_values(preg_grep('/^PIALERT_WEB_PROTECTION\s.* $protection_line = explode("=", $config_file_lines_bypass[0]); $Pia_WebProtection = strtolower(trim($protection_line[1])); -if ($Pia_WebProtection == 'false') +if ($Pia_WebProtection != 'true') { header('Location: /pialert/devices.php'); $_SESSION["login"] = 1;