diff options
author | timeless%mozdev.org <> | 2007-07-23 16:47:11 +0200 |
---|---|---|
committer | timeless%mozdev.org <> | 2007-07-23 16:47:11 +0200 |
commit | 8e32409b83feed1df480f17f7b26535922f97b66 (patch) | |
tree | 5cbc65fa679f563655de38f827ff633515620ac8 | |
parent | efe725f656d0e44bef2c1573a59d3eddf3029b2a (diff) | |
download | bugzilla-8e32409b83feed1df480f17f7b26535922f97b66.tar.gz bugzilla-8e32409b83feed1df480f17f7b26535922f97b66.tar.xz |
Bug 238651 (a&b) Include the login name (in <code>) for "account_inexistent" error
r=lpsolit a=lpsolit
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 5 | ||||
-rwxr-xr-x | token.cgi | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 77d7d335c..3f82c1c92 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -68,9 +68,10 @@ that login name. [% END %] - [% ELSIF error == "account_inexistent" %] + [% ELSIF error == "account_does_not_exist" %] [% title = "Account Does Not Exist" %] - There is no [% terms.Bugzilla %] account with that login name. + <code>[% email FILTER html %]</code> is not a valid [% terms.Bugzilla %] + account. [% ELSIF error == "alias_has_comma_or_space" %] [% title = "Invalid Characters In Alias" %] @@ -118,7 +118,7 @@ if ( $::action eq 'reqpw' ) { my ($user_id) = $dbh->selectrow_array('SELECT userid FROM profiles WHERE ' . $dbh->sql_istrcmp('login_name', '?'), undef, $login_name); - $user_id || ThrowUserError("account_inexistent"); + $user_id || ThrowUserError("account_does_not_exist", {'email' => $login_name}); } # If the user is changing their password, make sure they submitted a new |