From e6648f218c8de9e9732f5260869f7124d3530c4e Mon Sep 17 00:00:00 2001 From: Brendan Bond Date: Fri, 8 Dec 2023 02:46:38 -0600 Subject: [PATCH] add skipInEmail comp property to recaptcha (#5427) --- src/components/recaptcha/ReCaptcha.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/recaptcha/ReCaptcha.js b/src/components/recaptcha/ReCaptcha.js index cb515df1fc..90abd3902f 100644 --- a/src/components/recaptcha/ReCaptcha.js +++ b/src/components/recaptcha/ReCaptcha.js @@ -59,6 +59,10 @@ export default class ReCaptchaComponent extends Component { return; } + get skipInEmail() { + return true; + } + verify(actionName) { const siteKey = _get(this.root.form, 'settings.recaptcha.siteKey'); if (!siteKey) {