This commit is contained in:
estifanos
2026-08-01 06:30:13 +00:00
parent af4ef8b3a7
commit d16d9840ba

View File

@@ -31,8 +31,9 @@ interface PasswordRequirementsProps {
labels?: string[];
}
/** Live checklist of password requirements, ticking off as the user types. */
/** Live checklist of password requirements, ticking off as the user types. Hidden until the user starts typing. */
export function PasswordRequirements({ password, minLength, labels }: PasswordRequirementsProps) {
if (!password) return null;
const rules = passwordRules(minLength);
return (
<Stack gap={6} mt={6}>