Merge pull request #15314 from overleaf/mj-email-captcha

[web] Use recaptcha.net for captcha when adding email

GitOrigin-RevId: 51e7a4792414ca9c8c3f167a359b6e637230991d
This commit is contained in:
Mathias Jakobsen 2023-10-18 11:58:37 +01:00 committed by Copybot
parent 87199c80fe
commit c1a9085a11

View file

@ -11,6 +11,7 @@ const element = document.getElementById('settings-page-root')
// For react-google-recaptcha
window.recaptchaOptions = {
enterprise: true,
useRecaptchaNet: true,
}
if (element) {
ReactDOM.render(<SettingsPageRoot />, element)