@@ -108,18 +108,22 @@ export const AuthorizerResetPassword: FC<Props> = ({ onReset }) => {
108108 ) }
109109 < form onSubmit = { onSubmit } name = "authorizer-reset-password-form" >
110110 < div className = { styles [ 'styled-form-group' ] } >
111- < label className = { styles [ 'form-input-label' ] } htmlFor = "password" >
111+ < label
112+ className = { styles [ 'form-input-label' ] }
113+ htmlFor = "authorizer-reset-password"
114+ >
112115 < span > * </ span > Password
113116 </ label >
114117 < input
115118 name = "password"
119+ id = "authorizer-reset-password"
116120 className = { `${ styles [ 'form-input-field' ] } ${
117121 errorData . password ? styles [ 'input-error-content' ] : null
118122 } `}
119123 placeholder = "********"
120124 type = "password"
121125 value = { formData . password || '' }
122- onChange = { e => onInputChange ( 'password' , e . target . value ) }
126+ onChange = { ( e ) => onInputChange ( 'password' , e . target . value ) }
123127 />
124128 { errorData . password && (
125129 < div className = { styles [ 'form-input-error' ] } >
@@ -128,18 +132,22 @@ export const AuthorizerResetPassword: FC<Props> = ({ onReset }) => {
128132 ) }
129133 </ div >
130134 < div className = { styles [ 'styled-form-group' ] } >
131- < label className = { styles [ 'form-input-label' ] } htmlFor = "password" >
135+ < label
136+ className = { styles [ 'form-input-label' ] }
137+ htmlFor = "authorizer-reset-confirm-password"
138+ >
132139 < span > * </ span > Confirm Password
133140 </ label >
134141 < input
135- name = "password"
142+ name = "confirmPassword"
143+ id = "authorizer-reset-confirm-password"
136144 className = { `${ styles [ 'form-input-field' ] } ${
137145 errorData . confirmPassword ? styles [ 'input-error-content' ] : null
138146 } `}
139147 placeholder = "********"
140148 type = "password"
141149 value = { formData . confirmPassword || '' }
142- onChange = { e => onInputChange ( 'confirmPassword' , e . target . value ) }
150+ onChange = { ( e ) => onInputChange ( 'confirmPassword' , e . target . value ) }
143151 />
144152 { errorData . confirmPassword && (
145153 < div className = { styles [ 'form-input-error' ] } >
0 commit comments