mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
fix: build issues
This commit is contained in:
@@ -8,7 +8,7 @@ export const authMiddleware: MiddlewareFunction = async ({ context }) => {
|
||||
if (!session.data?.user.id) {
|
||||
const status = await getStatus();
|
||||
if (!status.data?.hasUsers) {
|
||||
throw redirect("/register");
|
||||
throw redirect("/onboarding");
|
||||
}
|
||||
|
||||
throw redirect("/login");
|
||||
|
||||
@@ -63,7 +63,7 @@ export default function OnboardingPage() {
|
||||
<div className="min-h-screen flex items-center justify-center p-4">
|
||||
<Card className="w-full max-w-md">
|
||||
<CardHeader>
|
||||
<CardTitle className="text-2xl font-bold">Welcome to IronMount</CardTitle>
|
||||
<CardTitle className="text-2xl font-bold">Welcome to Ironmount</CardTitle>
|
||||
<CardDescription>Create the admin user to get started</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
|
||||
Reference in New Issue
Block a user