Skip to content

Commit efdc2e3

Browse files
committed
MAGETWO-91552: [github] CAPTCHA doesn't show when check out as guest
- Removed guest checkout/register on checkout captcha configurations
1 parent dff7580 commit efdc2e3

File tree

11 files changed

+3
-650
lines changed

11 files changed

+3
-650
lines changed

app/code/Magento/Captcha/Observer/CheckGuestCheckoutObserver.php

Lines changed: 0 additions & 82 deletions
This file was deleted.

app/code/Magento/Captcha/Observer/CheckRegisterCheckoutObserver.php

Lines changed: 0 additions & 82 deletions
This file was deleted.

app/code/Magento/Captcha/Test/Unit/Model/DefaultTest.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class DefaultTest extends \PHPUnit\Framework\TestCase
2424
'enable' => '1',
2525
'font' => 'linlibertine',
2626
'mode' => 'after_fail',
27-
'forms' => 'user_forgotpassword,user_create,guest_checkout,register_during_checkout',
27+
'forms' => 'user_forgotpassword,user_create',
2828
'failed_attempts_login' => '3',
2929
'failed_attempts_ip' => '1000',
3030
'timeout' => '7',
@@ -35,8 +35,6 @@ class DefaultTest extends \PHPUnit\Framework\TestCase
3535
'always_for' => [
3636
'user_create',
3737
'user_forgotpassword',
38-
'guest_checkout',
39-
'register_during_checkout',
4038
'contact_us',
4139
],
4240
];
@@ -362,8 +360,7 @@ public function isShownToLoggedInUserDataProvider()
362360
return [
363361
[true, 'contact_us'],
364362
[false, 'user_create'],
365-
[false, 'user_forgotpassword'],
366-
[false, 'guest_checkout']
363+
[false, 'user_forgotpassword']
367364
];
368365
}
369366
}

0 commit comments

Comments
 (0)