Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Commit

Permalink
Fix: #32
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas van Staden committed Jan 16, 2019
1 parent fbd369f commit 0ad8668
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/code/community/ProxiBlue/ReCaptcha/Model/Observer.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ public function checkContact($observer)
Mage::getSingleton('customer/session')->addError(Mage::helper('captcha')->__('Incorrect CAPTCHA.'));
$controller->getResponse()->setRedirect(Mage::getUrl('*/*/'));
}
} else {
// clear session data so it does not persist
Mage::getSingleton('customer/session')->unsFormData();
}
}

Expand Down

0 comments on commit 0ad8668

Please sign in to comment.