Merge pull request #110 from arjunyel/password-autocomplete

Add autocomplete to sign in/up forms
This commit is contained in:
mv-turtle
2022-12-09 22:27:20 -05:00
committed by GitHub
5 changed files with 26 additions and 1 deletions
+6
View File
@@ -119,6 +119,8 @@ export default function PersonalSettings() {
isRequired
error={currentPasswordError}
errorText="The current password may be wrong"
autoComplete="current-password"
id="current-password"
/>
<div className="py-2"></div>
<InputField
@@ -141,6 +143,8 @@ export default function PersonalSettings() {
passwordErrorLowerCase &&
passwordErrorNumber
}
autoComplete="new-password"
id="new-password"
/>
</div>
{passwordErrorLength ||
@@ -283,6 +287,8 @@ export default function PersonalSettings() {
isRequired
error={backupKeyError}
errorText="The current password is wrong"
autoComplete="current-password"
id="current-password"
/>
</div>
<div className="flex flex-row items-center mt-3 w-full w-60">