Closed AurelienLavorel closed 4 years ago
I agree I believe some method of data persisting
same issue in create account form
create post have this function $this->session->setCustomerFormData($this->getRequest()->getPostValue());
Not sure this is possible since the current implementation of MSP reCaptcha stops any kind of input before the controller is executed. I will investigate on it.
any news on this?
Due to significant refactoring and UI changes in Admin Panel for reCAPCTHA module in the scope of security-package for 2.4.x release, this bug is not actual anymore.
Data not saved on failed attempts
Preconditions
Steps to reproduce
Expected result
Actual result
On Magento captcha code, it's here: https://github.com/magento/magento2/blob/2.3-develop/app/code/Magento/Captcha/Observer/CheckContactUsFormObserver.php#L80
We should have the same behavior on that class: https://github.com/magento/magespecialist_ReCaptcha/blob/2.3-develop/Observer/ReCaptchaObserver.php#L94
I don't understand where MSP\ReCaptcha\Observer\Frontend\ContactFormObserver is generated so I can't make the pull request by myself :(