feat: add autocomplete for password managers

This commit is contained in:
nsylke
2023-08-26 10:22:44 -05:00
committed by Mythie
parent b97a0380df
commit 44f59b07c5
3 changed files with 4 additions and 0 deletions

View File

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

View File

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

View File

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