Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6918 from VFermat/fix-19316
Browse files Browse the repository at this point in the history
Validate that the phone number verification field is filled before allowing user to submit
  • Loading branch information
James Salter committed Oct 8, 2021
2 parents e1c1d2d + 0b64dfa commit fe79a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/settings/account/PhoneNumbers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ export default class PhoneNumbers extends React.Component<IProps, IState> {
<AccessibleButton
onClick={this.onContinueClick}
kind="primary"
disabled={this.state.continueDisabled}
disabled={this.state.continueDisabled || this.state.newPhoneNumberCode.length === 0}
>
{ _t("Continue") }
</AccessibleButton>
Expand Down

0 comments on commit fe79a95

Please sign in to comment.