You are here

function statsd_user_login_failed in StatsD 7

Same name and namespace in other branches
  1. 6 statsd.module \statsd_user_login_failed()
  2. 7.2 statsd.module \statsd_user_login_failed()

Send a failed login attempt.

1 call to statsd_user_login_failed()
statsd_watchdog in ./statsd.module
Implements hook_watchdog().

File

./statsd.module, line 62

Code

function statsd_user_login_failed($account) {
  if (!variable_get('statsd_user_events', TRUE)) {
    return;
  }
  statsd_call('user_events.failed_login');
}