File tree 4 files changed +14
-2
lines changed
client/modules/User/components 4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,9 @@ function AccountForm() {
74
74
< input
75
75
className = "form__input"
76
76
aria-label = { t ( 'AccountForm.EmailARIA' ) }
77
- type = "text "
77
+ type = "email "
78
78
id = "email"
79
+ autoComplete = "email"
79
80
{ ...field . input }
80
81
/>
81
82
{ field . meta . touched && field . meta . error && (
@@ -117,6 +118,7 @@ function AccountForm() {
117
118
aria-label = { t ( 'AccountForm.UserNameARIA' ) }
118
119
type = "text"
119
120
id = "username"
121
+ autoComplete = "username"
120
122
{ ...field . input }
121
123
/>
122
124
{ field . meta . touched && field . meta . error && (
@@ -136,6 +138,7 @@ function AccountForm() {
136
138
aria-label = { t ( 'AccountForm.CurrentPasswordARIA' ) }
137
139
type = "password"
138
140
id = "currentPassword"
141
+ autoComplete = "current-password"
139
142
{ ...field . input }
140
143
/>
141
144
{ field . meta . touched && field . meta . error && (
@@ -155,6 +158,7 @@ function AccountForm() {
155
158
aria-label = { t ( 'AccountForm.NewPasswordARIA' ) }
156
159
type = "password"
157
160
id = "newPassword"
161
+ autoComplete = "new-password"
158
162
{ ...field . input }
159
163
/>
160
164
{ field . meta . touched && field . meta . error && (
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ function LoginForm() {
39
39
aria-label = { t ( 'LoginForm.UsernameOrEmailARIA' ) }
40
40
type = "text"
41
41
id = "email"
42
+ autoComplete = "username"
42
43
{ ...field . input }
43
44
/>
44
45
{ field . meta . touched && field . meta . error && (
@@ -58,6 +59,7 @@ function LoginForm() {
58
59
aria-label = { t ( 'LoginForm.PasswordARIA' ) }
59
60
type = "password"
60
61
id = "password"
62
+ autoComplete = "current-password"
61
63
{ ...field . input }
62
64
/>
63
65
{ field . meta . touched && field . meta . error && (
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ function NewPasswordForm(props) {
35
35
aria-label = { t ( 'NewPasswordForm.TitleARIA' ) }
36
36
type = "password"
37
37
id = "Password"
38
+ autoComplete = "new-password"
38
39
{ ...field . input }
39
40
/>
40
41
{ field . meta . touched && field . meta . error && (
@@ -54,6 +55,7 @@ function NewPasswordForm(props) {
54
55
type = "password"
55
56
aria-label = { t ( 'NewPasswordForm.ConfirmPasswordARIA' ) }
56
57
id = "confirm password"
58
+ autoComplete = "new-password"
57
59
{ ...field . input }
58
60
/>
59
61
{ field . meta . touched && field . meta . error && (
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ function SignupForm() {
62
62
aria-label = { t ( 'SignupForm.TitleARIA' ) }
63
63
type = "text"
64
64
id = "username"
65
+ autoComplete = "username"
65
66
{ ...field . input }
66
67
/>
67
68
{ field . meta . touched && field . meta . error && (
@@ -79,8 +80,9 @@ function SignupForm() {
79
80
< input
80
81
className = "form__input"
81
82
aria-label = { t ( 'SignupForm.EmailARIA' ) }
82
- type = "text "
83
+ type = "email "
83
84
id = "email"
85
+ autoComplete = "email"
84
86
{ ...field . input }
85
87
/>
86
88
{ field . meta . touched && field . meta . error && (
@@ -100,6 +102,7 @@ function SignupForm() {
100
102
aria-label = { t ( 'SignupForm.PasswordARIA' ) }
101
103
type = "password"
102
104
id = "password"
105
+ autoComplete = "new-password"
103
106
{ ...field . input }
104
107
/>
105
108
{ field . meta . touched && field . meta . error && (
@@ -119,6 +122,7 @@ function SignupForm() {
119
122
type = "password"
120
123
aria-label = { t ( 'SignupForm.ConfirmPasswordARIA' ) }
121
124
id = "confirm password"
125
+ autoComplete = "new-password"
122
126
{ ...field . input }
123
127
/>
124
128
{ field . meta . touched && field . meta . error && (
You can’t perform that action at this time.
0 commit comments