Include recaptcha script only in register modal
XakepSDK opened this issue · 2 comments
XakepSDK commented
Extension works only in registration modal, but script loads in every page. That's bad.
luceos commented
It's a SPA, meaning the HEAD is generated once and re-used everywhere.
dsevillamartin commented
I guess it could be made so it only adds the reCAPTCHA code to the head when viewing as a guest, aka when there's no user signed in.. there's no point in having the code load when a user has signed in.
Thoughts?