WordPress.org

Support

Support » Plugins and Hacks » multisite and limit-login-attempts

multisite and limit-login-attempts

Viewing 5 replies - 1 through 5 (of 5 total)
  • edwardsmarkf
    Member

    @edwardsmarkf

    i am starting to think the only way to change this value for all multisites is to do something like this:

    select blog_id from dbName.wp_blogs ;

    and for every answer:

    UPDATE dbName.wp_####_options
    SET option_value = 10
    WHERE 1
    AND option_name = ‘limit_login_allowed_lockouts’

    RavanH
    Participant

    @ravanh

    Edit the plugin file limit-login-attempts.php and find the array $limit_login_options. The key you are looking for is ‘allowed_retries’… change that value to 10 🙂

    RavanH
    Participant

    @ravanh

    Oh, and if you want to hide the plugin settings admin page from normal site owners, then find the line

    add_options_page('Limit Login Attempts', 'Limit Login Attempts', 'manage_options', 'limit-login-attempts', 'limit_login_option_page');

    (it’s in the function limit_login_admin_menu() about 3/4 down the file)

    Now change 'manage_options' to 'manage_network_options' and save.

    edwardsmarkf
    Member

    @edwardsmarkf

    RavanH – thank you very much. i suspected it was something pretty easy.

    of course the problem is that every time the plug-in updates, i have to remember to do this again !

    RavanH
    Participant

    @ravanh

    I have the feeling that this plugin will not get an update. It seems to be a little quiet on the development front. For quite a while now… Which is sad because it’s a pretty valuable plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘multisite and limit-login-attempts’ is closed to new replies.