diff options
author | Byron Jones <glob@mozilla.com> | 2015-07-29 08:38:13 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-07-29 08:38:13 +0200 |
commit | b5ae6badff13e5ae8848a05af16186890ddc4191 (patch) | |
tree | 3e664fe5e9935608788111d5b774a8c015e0edd6 /Bugzilla | |
parent | a1e5e3d75fe61f4d271c08b96aafa550138b459c (diff) | |
download | bugzilla-b5ae6badff13e5ae8848a05af16186890ddc4191.tar.gz bugzilla-b5ae6badff13e5ae8848a05af16186890ddc4191.tar.xz |
Bug 1188747 - account lockout audit entry is less than useful
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Auth.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Bugzilla/Auth.pm b/Bugzilla/Auth.pm index 81b972ac5..c502ffc35 100644 --- a/Bugzilla/Auth.pm +++ b/Bugzilla/Auth.pm @@ -243,7 +243,10 @@ 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)); + Bugzilla->audit(sprintf( + '<%s> triggered lockout of %s after %s attempts', + $address, $user->login, scalar(@$attempts) + )); } $unlock_at->set_time_zone($user->timezone); |