Fix recaptcha in storybook

This commit is contained in:
Joseph Garrone
2024-06-04 01:39:54 +02:00
parent 6b570f2b9a
commit 17e1655eaf
2 changed files with 24 additions and 33 deletions

View File

@ -68,8 +68,9 @@ export const WithRecaptcha: Story = {
render: () => (
<PageStory
kcContext={{
scripts: ["https://www.google.com/recaptcha/api.js?hl=en"],
recaptchaRequired: true,
recaptchaSiteKey: "foobar"
recaptchaSiteKey: "6LfQHvApAAAAAE73SYTd5vS0lB1Xr7zdiQ-6iBVa"
}}
/>
)