Fix setup redirect

This commit is contained in:
johnnyq
2025-08-06 12:52:02 -04:00
parent e24ec04a75
commit be66a1690f
2 changed files with 2 additions and 3 deletions

View File

@@ -9,7 +9,6 @@ if (file_exists("config.php")) {
header("Location: /user"); header("Location: /user");
} }
} else { } else {
header("Location: setup"); header("Location: /setup");
exit(); exit();
} }

View File

@@ -53,7 +53,7 @@ $data = "otpauth://totp/ITFlow:$session_email?secret=$token";
</head> </head>
<body class="hold-transition login-page"> <body class="hold-transition login-page">
<?php require_once "includes/inc_alert_feedback.php"; ?> <?php require_once "../includes/inc_alert_feedback.php"; ?>
<div class="login-box"> <div class="login-box">
<div class="login-logo"> <div class="login-logo">
<?php if (!empty($company_logo)) { ?> <?php if (!empty($company_logo)) { ?>