Code: Select all
RewriteRule .* https://www.websitehere.com/ [R=302,L]
ADD CREATIVE has posted both discussions about what to do if it is more than annoying.
There is no need to block these ips, all that is needed is the suppression of the error logging by having OC check if the fields are present before using them.
In the validation functions like:
Code: Select all
protected function validate() {
if (!empty($this->request->post['email']) && !empty($this->request->post['password'])) {
..........the current validation code .....
} else {
$this->error['warning'] = $this->language->get('error_login');
}
}