Skip to content

Conversation

@thostetler
Copy link
Member

New account registration was failing with executeRecaptcha is not a function because the anonymous AMD define in recaptcha_core.js wasn't being properly associated with its module ID during r.js bundling.

  • Added explicit module ID js/utils/recaptcha_core to the AMD define call

- Anonymous AMD define was not being properly associated with module ID during r.js bundling
- Caused executeRecaptcha to be undefined in production builds
@thostetler thostetler marked this pull request as ready for review January 7, 2026 16:30
@thostetler thostetler requested a review from shinyichen January 7, 2026 16:30
@thostetler thostetler merged commit c7036f4 into adsabs:master Jan 7, 2026
1 check passed
@thostetler
Copy link
Member Author

@shinyichen tiny one-liner, gonna merge it to get the fix up

@thostetler thostetler deleted the SCIX-785-bbb-recaptcha-error-on branch January 7, 2026 17:00
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.

1 participant