diff --git a/src/features/onboarding/steps/step-login.tsx b/src/features/onboarding/steps/step-login.tsx index 8c7b9163..5b69ac51 100644 --- a/src/features/onboarding/steps/step-login.tsx +++ b/src/features/onboarding/steps/step-login.tsx @@ -6,7 +6,7 @@ import { useOnboarding } from "@onboardjs/react"; import { useMutation } from "@tanstack/react-query"; import { z } from "zod"; import { toast } from "sonner"; -import { Globe, Mail, KeyRound } from "lucide-react"; +import { Globe, Mail, KeyRound, ShieldAlert } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { PasswordInput } from "@/components/ui/password-input"; @@ -83,16 +83,23 @@ export const StepLogin = () => { // No auth methods configured if (!hasAnyAuthMethod) { return ( -
- Enable at least one authentication method in your environment variables to continue. +
+ Please enable an authentication method in your environment variables to continue.
AUTH_EMAIL_PASSWORD_ENABLED=true,{" "}
- AUTH_PASSKEY_ENABLED=true, or configure an SSO provider.
+ Set at least one of these:
+AUTH_EMAIL_PASSWORD_ENABLED=trueAUTH_PASSKEY_ENABLED=true