This topic contains 0 replies, has 1 voice. Last updated by Daniel Williams 4 years, 5 months ago.
Topic Author | Topic |
---|---|
Posted: Wednesday Jul 18th, 2012 at 11:23 am #19647 | |
Note: This hack is for persons running s2member behind a ELB on AWS. Amazon ELB, like most load balancer, does not present the “real” user IP to Apache/PHP. If you search wp-content/plugins/s2member/includes/classes/ and replace all $_SERVER[‘REMOTE_ADDR’] with $_SERVER[‘HTTP_X_FORWARDED_FOR’] s2member will have the user’s IP and brute force restriction will work again on a per user bases. If anyone has a better solution, please advise me… Thanks |