Password
-
- setForm(prev => ({ ...prev, password: e.target.value }))}
- sx={{
- backgroundColor: theme.palette.general.primary,
- color: theme.palette.text.primary,
- flex: 1
- }}
- />
- setShowPassword(!showPassword)}
- sx={{
- color: theme.palette.text.primary,
- marginLeft: 1
- }}
- >
- {showPassword ? : }
-
-
+ setForm({ ...form, password: e.target.value })}
+ endDecorator={
+ setShowPassword(!showPassword)}>
+ {showPassword ? : }
+
+ }
+ />
)}
- {form.authMethod === 'rsaKey' && (
-