enable waitlisting in cloud

This commit is contained in:
KM Koushik
2025-09-17 22:13:03 +10:00
parent 8c8af1f846
commit e1cb1f27d1
6 changed files with 41 additions and 6 deletions
+5 -1
View File
@@ -8,5 +8,9 @@ export default async function Home() {
redirect("/login");
}
redirect("/dashboard");
if (session.user.isWaitlisted) {
redirect("/wait-list");
} else {
redirect("/dashboard");
}
}