Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix recaptcha completion & render #104

Merged
merged 1 commit into from
May 22, 2024
Merged

fix recaptcha completion & render #104

merged 1 commit into from
May 22, 2024

Conversation

westerandr
Copy link
Contributor

Describe your changes

Fixed ReCAPTCHA not working.

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests.
  • Will this be part of a product update? If yes, please write one phrase about this update.

Copy link

netlify bot commented May 22, 2024

Deploy Preview for samoa-stack-overflow ready!

Name Link
🔨 Latest commit a3bef61
🔍 Latest deploy log https://app.netlify.com/sites/samoa-stack-overflow/deploys/664dcb4294f94c000831dae0
😎 Deploy Preview https://deploy-preview-104--samoa-stack-overflow.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@Green-Ranger11 Green-Ranger11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@@ -58,14 +58,22 @@
triggerToast('Please enter a valid email address', 'error');
return;
}
window.grecaptcha = window.grecaptcha || {};

const recaptchaResponse = window.document.getElementById('recaptchaResponse').value;
Copy link
Contributor

@Green-Ranger11 Green-Ranger11 May 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

null check via optional chain?

@Green-Ranger11 Green-Ranger11 merged commit a3bef61 into main May 22, 2024
6 checks passed
@Green-Ranger11 Green-Ranger11 deleted the fix-recaptcha branch May 22, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants