Skip to content

Commit

Permalink
fix: omit cf response-field
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkoumarianos-okta committed Jan 3, 2024
1 parent f6efcd9 commit 4048dc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/__tests__/field/captcha/third_party_captcha.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ describe('ThirdPartyCaptcha', () => {
'error-callback': expect.any(Function),
language: 'en',
theme: 'light',
retry: 'never'
retry: 'never',
'response-field': false
});
});

Expand Down
1 change: 1 addition & 0 deletions src/field/captcha/third_party_captcha.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ export class ThirdPartyCaptcha extends React.Component {
language: this.props.hl,
theme: 'light',
retry: 'never',
'response-field': false,
'error-callback': () => {
if (this.state.retryCount < MAX_RETRY) {
getCaptchaProvider(this.props.provider).reset(this.widgetId);
Expand Down

0 comments on commit 4048dc1

Please sign in to comment.