diff options
Diffstat (limited to 'pages/login.inc')
-rw-r--r-- | pages/login.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |