Skip to content

Commit 7a1e00b

Browse files
author
Oleksandr Karpenko
committed
MAGETWO-37874: Data is reset after entering it on login/registration customer forms if don't wait until form will be replaced
1 parent 80c5e2b commit 7a1e00b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/Captcha/Block/Captcha.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public function __construct(
3232
) {
3333
$this->_captchaData = $captchaData;
3434
parent::__construct($context, $data);
35+
$this->_isScopePrivate = true;
3536
}
3637

3738
/**

app/code/Magento/Customer/Block/Form/Register.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function __construct(
6363
$countryCollectionFactory,
6464
$data
6565
);
66-
$this->_isScopePrivate = true;
66+
$this->_isScopePrivate = false;
6767
}
6868

6969
/**

0 commit comments

Comments
 (0)