Limit Login Attempts
Feature request - total lockouts in email (1 post)

  1. deverill
    Posted 3 years ago #

    The emails are good but with the recent onslaught of hack attempts it would be handy to add a line to the top of the email that says:

    218 total failed login attempts.

    I added it to mine with this code, but it would be nice to be in the official plugin:

    $total_count = get_option('limit_login_lockouts_total', 0);
    $message = sprintf(__("%d total failed login attempts."
    , 'limit-login-attempts') . "\r\n\r\n"
    , $total_count);

    Thanks! This plugin is a lifesaver!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Limit Login Attempts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic