Merge branch 'main' into dev

This commit is contained in:
Milo Schwartz
2025-05-02 10:55:21 -04:00
committed by GitHub
4 changed files with 25 additions and 2 deletions

View File

@@ -248,6 +248,12 @@ export default function LoginForm({ redirect, onLogin, idps }: LoginFormProps) {
pattern={
REGEXP_ONLY_DIGITS_AND_CHARS
}
onChange={(e) => {
field.onChange(e);
if (e.target.value.length === 6) {
mfaForm.handleSubmit(onSubmit)();
}
}}
>
<InputOTPGroup>
<InputOTPSlot