diff options
author | Byron Jones <glob@mozilla.com> | 2015-07-23 06:24:32 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-07-23 06:24:32 +0200 |
commit | e497100c07aa95e315c4c881d54cb88e57675e80 (patch) | |
tree | 4a1ac7448dfc1e0c7a5d8dc7352b7f5931eec36f /Bugzilla/Auth.pm | |
parent | 5f8b7d80c6d390d6eb135f8d8bb9f8662524a24b (diff) | |
download | bugzilla-e497100c07aa95e315c4c881d54cb88e57675e80.tar.gz bugzilla-e497100c07aa95e315c4c881d54cb88e57675e80.tar.xz |
Bug 1185823 - add additional [audit] syslog entries
Diffstat (limited to 'Bugzilla/Auth.pm')
-rw-r--r-- | Bugzilla/Auth.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Auth.pm b/Bugzilla/Auth.pm index e9bd214fd..81b972ac5 100644 --- a/Bugzilla/Auth.pm +++ b/Bugzilla/Auth.pm @@ -243,6 +243,7 @@ sub _handle_login_result { $template->process('email/lockout.txt.tmpl', $vars, \$message) || ThrowTemplateError($template->error); MessageToMTA($message); + Bugzilla->audit(sprintf('<%s> triggered lockout of %s after %s attempts', $address, $user, $attempts)); } $unlock_at->set_time_zone($user->timezone); |