diff --git a/client/pages/Login.tsx b/client/pages/Login.tsx index 2e357711..335404e6 100644 --- a/client/pages/Login.tsx +++ b/client/pages/Login.tsx @@ -172,13 +172,33 @@ export default function Login() { {/* Email/Password Form */} -
+ + {isSignUp && ( +
+ +
+ + setFullName(e.target.value)} + placeholder="Enter your full name" + className="pl-10 bg-background/50 border-border/50 focus:border-aethex-400" + required={isSignUp} + /> +
+
+ )} +
- + setPassword(e.target.value)} - placeholder="Enter your password" + placeholder={isSignUp ? "Create a password" : "Enter your password"} className="pl-10 bg-background/50 border-border/50 focus:border-aethex-400" required + minLength={isSignUp ? 6 : undefined} />
+ {isSignUp && ( +

+ Password must be at least 6 characters long +

+ )}