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:
David Baker
2026-05-26 09:08:33 +01:00
committed by GitHub
parent a415a7ee2a
commit 5cfb68962d
@@ -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
// that no longer allows empty values for required fields.
invalidField.focus();
invalidField.validate({ allowEmpty: false, focused: true });
await invalidField.validate({ allowEmpty: false, focused: true });
return false;
}