mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 10:15:04 +00:00
change condition
This commit is contained in:
@@ -2,7 +2,7 @@ import { redirect } from "next/navigation";
|
|||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
// automatically redirect to loginname
|
// automatically redirect to loginname
|
||||||
if (!process.env.DEBUG) {
|
if (process.env.DEBUG !== "true") {
|
||||||
redirect("/loginname");
|
redirect("/loginname");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user