From be66a1690f566c6bea5814ece598e7c6c83783e2 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 6 Aug 2025 12:52:02 -0400 Subject: [PATCH] Fix setup redirect --- index.php | 3 +-- user/mfa_enforcement.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 086f1321..a0cf4958 100644 --- a/index.php +++ b/index.php @@ -9,7 +9,6 @@ if (file_exists("config.php")) { header("Location: /user"); } } else { - header("Location: setup"); + header("Location: /setup"); exit(); } - diff --git a/user/mfa_enforcement.php b/user/mfa_enforcement.php index f80fafc7..dc759842 100644 --- a/user/mfa_enforcement.php +++ b/user/mfa_enforcement.php @@ -53,7 +53,7 @@ $data = "otpauth://totp/ITFlow:$session_email?secret=$token"; - +