From 8e32409b83feed1df480f17f7b26535922f97b66 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" <> Date: Mon, 23 Jul 2007 14:47:11 +0000 Subject: Bug 238651 (a&b) Include the login name (in ) for "account_inexistent" error r=lpsolit a=lpsolit --- token.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'token.cgi') 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 -- cgit v1.2.3-24-g4f1b