From 08095abadba2df76318e2fadcae442e21e1f2a1c Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 8 May 2012 14:19:12 +0800 Subject: Bug 729001: Reverse resolves the IP address in account lockout notifications r=LpSolit, a=LpSolit --- template/en/default/email/lockout.txt.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'template/en/default/email/lockout.txt.tmpl') diff --git a/template/en/default/email/lockout.txt.tmpl b/template/en/default/email/lockout.txt.tmpl index e30a4e945..51153ea45 100644 --- a/template/en/default/email/lockout.txt.tmpl +++ b/template/en/default/email/lockout.txt.tmpl @@ -8,10 +8,10 @@ From: [% Param('mailfrom') %] To: [% Param('maintainer') %] -Subject: [[% terms.Bugzilla %]] Account Lock-Out: [% locked_user.login %] ([% attempts.0.ip_addr %]) +Subject: [[% terms.Bugzilla %]] Account Lock-Out: [% locked_user.login %] ([% address %]) X-Bugzilla-Type: admin -The IP address [% attempts.0.ip_addr %] failed too many login attempts ( +The address [% address %] failed too many login attempts ( [%- constants.MAX_LOGIN_ATTEMPTS +%]) for the account [% locked_user.login %]. -- cgit v1.2.3-24-g4f1b