Skip to content

Commit fc1dc11

Browse files
authored
fix: profile input auto-complete (#18)
1 parent 22c53cf commit fc1dc11

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/profile.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export const ProfileCard = ({ className }: { className: string }) => {
9292
<FormLabel>{t("NewUsername")}</FormLabel>
9393
<FormControl>
9494
<Input
95+
autoComplete="username"
9596
{...field}
9697
/>
9798
</FormControl>
@@ -107,6 +108,7 @@ export const ProfileCard = ({ className }: { className: string }) => {
107108
<FormLabel>{t("OriginalPassword")}</FormLabel>
108109
<FormControl>
109110
<Input
111+
autoComplete="current-password"
110112
{...field}
111113
/>
112114
</FormControl>

0 commit comments

Comments
 (0)