Fix setup redirect
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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)) { ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user