• Resolved jenbodeu

    (@jenbodeu)


    I’m using Ultimate Member and Loginizer on my page. If Loginizer blocks my IP for a couple of minutes after 3 failed logins, Ultimate Member still states “wrong password”. Loginizers messages are not displayed. My users then try and try to login while Loginizer has blocked the IP.

    Is there any chance, tht Loginizer messages are displayed?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • @jenbodeu

    You can try this code snippet, install to child-theme functions.php or use the “Code Snippets” plugin.

    Updated the code snippet with Loginizer messages.

    add_filter( 'um_submit_form_error', 'um_submit_form_error_custom', 10, 2 );
    
    function um_submit_form_error_custom( $error, $key ) {
        
        global $lz_error;
        if( $key == 'ip_blocked' ) return $lz_error['ip_blocked'];
        if( $key == 'ip_blacklisted' ) return $lz_error['ip_blacklisted'];
    
        return $error;
    }

    https://www.ads-software.com/plugins/code-snippets/

    • This reply was modified 2 years, 7 months ago by missveronica.
    Thread Starter jenbodeu

    (@jenbodeu)

    Hey, what a fast and competent reply! Problem solved and you saved my life. Thank you, Missveronica!!

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Thanks for letting us know how it resolved the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ultimate Member and Loginizer’ is closed to new replies.