Fix missed await in ChangePassword (#33588)
Looks like this probably ought to be awaited, anyway, although I'm not convinced it's the cause of the flake I'm seeing.
This commit is contained in:
@@ -303,7 +303,7 @@ export default class ChangePassword extends React.Component<IProps, IState> {
|
|||||||
// Focus the first invalid field and show feedback in the stricter mode
|
// Focus the first invalid field and show feedback in the stricter mode
|
||||||
// that no longer allows empty values for required fields.
|
// that no longer allows empty values for required fields.
|
||||||
invalidField.focus();
|
invalidField.focus();
|
||||||
invalidField.validate({ allowEmpty: false, focused: true });
|
await invalidField.validate({ allowEmpty: false, focused: true });
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user