c_ws_plugin__s2member_brute_force
public class c_ws_plugin__s2member_brute_force
3.5
( 2 Methods ) Method Summary | |
---|---|
public static obj|null | stop_brute_force_logins(obj $user) Stops anyone attempting a Brute Force attack. |
public static null | track_failed_logins(str $username) Tracks failed login attempts. |
public static obj|null stop_brute_force_logins(obj $user)
Stops anyone attempting a Brute Force attack.
Prevents an attacker from guessing Usernames/Passwords. Allows only 5 failed login attempts every 30 minutes.
3.5
add_filter("authenticate");
obj $user - Expects a WP_User object, or possibly a null value. This parameter value is simply passed through this routine.
obj|null - Either null, the $user
obj, or a WP_Error
obj.
public static null track_failed_logins(str $username)
Tracks failed login attempts.
Prevents an attacker from guessing Usernames/Passwords. Allows only 5 failed login attempts every 30 minutes.
3.5
add_action("wp_login_failed");
str $username - Expects the $username to be passed in through the Hook.
null
s2Member's Brute Force protection routines.