Skip to content

Commit

Permalink
Fix #1343: SMS OTP confirmation button remains enabled after error
Browse files Browse the repository at this point in the history
  • Loading branch information
banterCZ committed Sep 15, 2023
1 parent 20fc398 commit b260026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powerauth-webflow/src/main/js/components/smsComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default class SmsComponent extends React.Component {
handleSubmit(event) {
event.preventDefault();
this.props.dispatch(authenticate(this.state.authCode, this.state.password, this.state.signedMessage, this.props.parentComponent));
this.setState({authCode: '', password: ''});
this.setState({authCode: '', password: '', confirmDisabled: true});
}

updateButtonState() {
Expand Down

0 comments on commit b260026

Please sign in to comment.