Fix Bug 68949
Before opening Wizard, Login page opens
This commit is contained in:
parent
e86320e24b
commit
806f81d2f9
@ -25,7 +25,7 @@
|
||||
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
|
||||
import { cookies, headers } from "next/headers";
|
||||
|
||||
import { redirect } from "next/navigation";
|
||||
import { Toast } from "@docspace/shared/components/toast";
|
||||
import { getBaseUrl } from "@docspace/shared/utils/next-ssr-helper";
|
||||
import { TenantStatus, ThemeKeys } from "@docspace/shared/enums";
|
||||
@ -83,7 +83,7 @@ export default async function RootLayout({
|
||||
}
|
||||
|
||||
if (typeof settings !== "string" && settings?.wizardToken) {
|
||||
redirectUrl = `wizard`;
|
||||
redirect(`wizard`);
|
||||
}
|
||||
|
||||
if (
|
||||
|
Loading…
Reference in New Issue
Block a user