summaryrefslogtreecommitdiffstats
path: root/token.cgi
diff options
context:
space:
mode:
authortimeless%mozdev.org <>2007-07-23 16:47:11 +0200
committertimeless%mozdev.org <>2007-07-23 16:47:11 +0200
commit8e32409b83feed1df480f17f7b26535922f97b66 (patch)
tree5cbc65fa679f563655de38f827ff633515620ac8 /token.cgi
parentefe725f656d0e44bef2c1573a59d3eddf3029b2a (diff)
downloadbugzilla-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
Diffstat (limited to 'token.cgi')
-rwxr-xr-xtoken.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/token.cgi b/token.cgi
index a07a969fd..dd41e4665 100755
--- a/token.cgi
+++ b/token.cgi
@@ -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