feat: add autocomplete for password managers

This commit is contained in:
nsylke
2023-08-26 10:22:44 -05:00
parent f8bf4fea36
commit 7ad3365b0e
3 changed files with 4 additions and 0 deletions

View File

@ -94,6 +94,7 @@ export const PasswordForm = ({ className }: PasswordFormProps) => {
type="password"
minLength={6}
maxLength={72}
autoComplete="new-password"
className="bg-background mt-2"
{...register('password')}
/>
@ -111,6 +112,7 @@ export const PasswordForm = ({ className }: PasswordFormProps) => {
type="password"
minLength={6}
maxLength={72}
autoComplete="new-password"
className="bg-background mt-2"
{...register('repeatedPassword')}
/>

View File

@ -101,6 +101,7 @@ export const SignInForm = ({ className }: SignInFormProps) => {
type="password"
minLength={6}
maxLength={72}
autoComplete="current-password"
className="bg-background mt-2"
{...register('password')}
/>

View File

@ -107,6 +107,7 @@ export const SignUpForm = ({ className }: SignUpFormProps) => {
type="password"
minLength={6}
maxLength={72}
autoComplete="new-password"
className="bg-background mt-2"
{...register('password')}
/>