Skip to content

Commit dfa87e9

Browse files
committed
security-package/issues/154: Add reCAPTCHA support for customer account edit
1 parent f23f46c commit dfa87e9

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ReCaptchaCustomer/Observer/EditCustomerObserver.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
use Magento\ReCaptchaUi\Model\RequestHandlerInterface;
1616

1717
/**
18-
* EditCustomerObserver
18+
* NewsletterObserver
19+
*
20+
* Process the response during customer account editing
1921
*/
2022
class EditCustomerObserver implements ObserverInterface
2123
{
@@ -50,6 +52,8 @@ public function __construct(
5052
}
5153

5254
/**
55+
* @inheritdoc
56+
*
5357
* @param Observer $observer
5458
* @return void
5559
* @throws \Magento\Framework\Exception\LocalizedException

ReCaptchaCustomer/view/frontend/web/css/source/_module.less

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
44
*/
5-
.login-container, .form-login, .form-edit-account {
5+
.login-container,
6+
.form-login,
7+
.form-edit-account {
68
.g-recaptcha {
79
margin-bottom: 10px !important;
810
}

0 commit comments

Comments
 (0)