Skip to content

Commit

Permalink
Widget added during checkout login when email exists
Browse files Browse the repository at this point in the history
  • Loading branch information
magentix committed Jun 27, 2024
1 parent dc76271 commit 12b6cf8
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 100.2.6

- Widget added during checkout login when email exists ([14](https://github.com/Pixel-Open/magento-cloudflare-turnstile/issues/14))

## 100.2.5

- Fix redirect URI error when no referer
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"magento/framework": "*"
},
"type": "magento2-module",
"version": "100.2.5",
"version": "100.2.6",
"autoload": {
"files": [
"registration.php"
Expand Down
29 changes: 28 additions & 1 deletion view/frontend/layout/checkout_index_index.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--
/**
* Copyright (C) 2023 Pixel Développement
* Copyright (C) 2024 Pixel Développement
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand All @@ -26,6 +26,33 @@
</item>
</item>
</item>
<item name="steps" xsi:type="array">
<item name="children" xsi:type="array">
<item name="shipping-step" xsi:type="array">
<item name="children" xsi:type="array">
<item name="shippingAddress" xsi:type="array">
<item name="children" xsi:type="array">
<item name="customer-email" xsi:type="array">
<item name="children" xsi:type="array">
<item name="additional-login-form-fields" xsi:type="array">
<item name="children" xsi:type="array">
<item name="captcha" xsi:type="array">
<item name="component" xsi:type="string">PixelOpen_CloudflareTurnstile/js/view/component</item>
<item name="displayArea" xsi:type="string">additional-login-form-fields</item>
<item name="action" xsi:type="string">login-ajax</item>
<item name="configSource" xsi:type="string">turnstileConfig</item>
<item name="autoRendering" xsi:type="boolean">true</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
Expand Down

0 comments on commit 12b6cf8

Please sign in to comment.