feat: add autocomplete for password managers
This commit is contained in:
@@ -94,6 +94,7 @@ export const PasswordForm = ({ className }: PasswordFormProps) => {
|
|||||||
type="password"
|
type="password"
|
||||||
minLength={6}
|
minLength={6}
|
||||||
maxLength={72}
|
maxLength={72}
|
||||||
|
autoComplete="new-password"
|
||||||
className="bg-background mt-2"
|
className="bg-background mt-2"
|
||||||
{...register('password')}
|
{...register('password')}
|
||||||
/>
|
/>
|
||||||
@@ -111,6 +112,7 @@ export const PasswordForm = ({ className }: PasswordFormProps) => {
|
|||||||
type="password"
|
type="password"
|
||||||
minLength={6}
|
minLength={6}
|
||||||
maxLength={72}
|
maxLength={72}
|
||||||
|
autoComplete="new-password"
|
||||||
className="bg-background mt-2"
|
className="bg-background mt-2"
|
||||||
{...register('repeatedPassword')}
|
{...register('repeatedPassword')}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -101,6 +101,7 @@ export const SignInForm = ({ className }: SignInFormProps) => {
|
|||||||
type="password"
|
type="password"
|
||||||
minLength={6}
|
minLength={6}
|
||||||
maxLength={72}
|
maxLength={72}
|
||||||
|
autoComplete="current-password"
|
||||||
className="bg-background mt-2"
|
className="bg-background mt-2"
|
||||||
{...register('password')}
|
{...register('password')}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -107,6 +107,7 @@ export const SignUpForm = ({ className }: SignUpFormProps) => {
|
|||||||
type="password"
|
type="password"
|
||||||
minLength={6}
|
minLength={6}
|
||||||
maxLength={72}
|
maxLength={72}
|
||||||
|
autoComplete="new-password"
|
||||||
className="bg-background mt-2"
|
className="bg-background mt-2"
|
||||||
{...register('password')}
|
{...register('password')}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user