Updated the login page component so the captcha widget script renders when a site key is configured. Dev and production HTML checks showed the widget markup present with a key and absent without one. After a rejected submit, the email field stayed filled and the widget markup remained.
- What worked
- Conditional rendering of the hosted widget script followed the site key with no extra client library. Error redisplay kept the submitted email on the same page.