• Resolved Richard

    (@richard0marlowe)


    Hi,

    Could you please let me know how can I change the lockout message “ERROR: Access from your IP address has been blocked for security reasons. Please contact the administrator.”

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Richard

    (@richard0marlowe)

    One more thing, is it possible to get an email notification when a user is locked out.

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @richard0marlowe,

    you can add filter aiowps_ip_blocked_error_msg as below in active theme’s functions.php file to change ip blocked error message. you can change in return string. I have change sequence of the two message there.

    function aiowps_ip_blocked_error_msg_custom() {
    return '<strong>ERROR:</strong>Please contact the administrator. Access from your IP address has been blocked for security reasons.';
    }

    add_filter('aiowps_ip_blocked_error_msg', 'aiowps_ip_blocked_error_msg_custom');

    WP security > User security > Login lockout tab have Notify by email filed. If it is enabled those email addresses are getting in email locked usernames and IP address list using 15 minute cronjobs. It will not be instant. Make sure you have the WP cron working.

    You can test the cronjob using the WP Crontrol plugin installed and running aios_15_minutes_cron_event event to run from Tools > Events.

    https://snipboard.io/eOVwdL.jpg

    Thread Starter Richard

    (@richard0marlowe)

    Thank you.

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @richard0marlowe

    Would you mind writing a quick five-star review on ww.wp.xz.cn?

    https://ww.wp.xz.cn/support/plugin/all-in-one-wp-security-and-firewall/reviews/#new-post

    Reviews also help others to make confident decisions about our plugin.

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

The topic ‘Change lockout message’ is closed to new replies.