feat: add autocomplete for password managers
This commit is contained in:
@@ -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')}
|
||||
/>
|
||||
|
||||
@@ -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')}
|
||||
/>
|
||||
|
||||
@@ -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')}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user