From 5103495a461ed90f23b5ec890dca73935bff0c68 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Wed, 2 Aug 2023 14:08:08 +0200 Subject: Updated 19 files and added assets/icons/new/menu.svg (automated) --- pages/login.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages/login.inc') diff --git a/pages/login.inc b/pages/login.inc index 1522ab3..157794f 100644 --- a/pages/login.inc +++ b/pages/login.inc @@ -4,7 +4,7 @@ if (isset($_GET["return"])) { setcookie("PEH2_RETURN_PAGE", $_GET["return"], 0, "/"); } -if (isset($_GET["immediate"])) { +if (isset($_GET["immediate"]) || (isset($_COOKIE["new2023UI"]) && !isset($_GET["no2023"]))) { header("Location: /auth/init"); die(); } -- cgit