• Resolved michaelacaggi

    (@michaelacaggi)


    I have a problem disabling the strong password meter for my WordPress logins. I have added code to my functions.php file that disables the meter in WordPress and when iThemes is deactivated it works. But when iThemes is activated the password meter enforces, even if I turn off the “Strong Password” setting in iThemes. I would like to disable or reduce the strong password meter.

    Thank you!

    Michael

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Michael,

    Are you using the solution (provided on the internet) that hooks into the login_enqueue_scripts action?

    +++++ To prevent any confusion, I’m not iThemes +++++

    • This reply was modified 3 years, 2 months ago by nlpro.
    Thread Starter michaelacaggi

    (@michaelacaggi)

    I believe I am @nlpro here is the script I am using:

    add_action(‘login_enqueue_scripts’, function(){
    wp_dequeue_script(‘user-profile’);
    wp_dequeue_script(‘password-strength-meter’);
    wp_deregister_script(‘user-profile’);

    $suffix = SCRIPT_DEBUG ? ” : ‘.min’;
    wp_enqueue_script( ‘user-profile’, “/wp-admin/js/user-profile$suffix.js”, array( ‘jquery’, ‘wp-util’ ), false, 1 );
    });

    … and since the login_enqueue_scripts action (I quote):

    is used for enqueuing both scripts and styles, on all login and registration related screens.

    I take it that the iTSec plugin ignores that snippet of code on the “New password” screen as used during the register and password reset procedures ? (Just want to make sure we are on the same page ;-)).

    Thread Starter michaelacaggi

    (@michaelacaggi)

    @nlpro I assume so because I deactivated the iTSec plugin and the script worked as intended.

    Hi @michaelacaggi, thanks for reaching out.

    I was able to add the script while the iThemes Security plugin was activated. I added the code to the functions.php file and also tested it with a code snippet plugin. Both worked without a conflict with the iThemes Security settings.


    I’ll suggest using a code snippet plugin to see if it makes a difference or doing a conflict test while keeping the iThemes Security plugin activated.

    Please let me know how it goes.

    Best regards,
    Shalom

    Hi there,
    I hope the information provided helped resolve your issues. Given that we have not received a response, I will mark this post as resolved. If you still need some assistance, please feel free to open a new support topic, and we would be happy to assist.
    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Password Strength Problem’ is closed to new replies.