diff --git a/demo/nextjs/components/sign-up.tsx b/demo/nextjs/components/sign-up.tsx index ab7430ef..b926b803 100644 --- a/demo/nextjs/components/sign-up.tsx +++ b/demo/nextjs/components/sign-up.tsx @@ -150,6 +150,10 @@ export function SignUp() { className="w-full" disabled={loading} onClick={async () => { + if (password !== passwordConfirmation){ + toast.error("Please ensure your password and confirm password match."); + return; + } await signUp.email({ email, password,