Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
8e32409b
Commit
8e32409b
authored
Jul 23, 2007
by
timeless%mozdev.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 238651 (a&b) Include the login name (in <code>) for "account_inexistent" error
r=lpsolit a=lpsolit
parent
efe725f6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
user-error.html.tmpl
template/en/default/global/user-error.html.tmpl
+3
-2
token.cgi
token.cgi
+1
-1
No files found.
template/en/default/global/user-error.html.tmpl
View file @
8e32409b
...
...
@@ -68,9 +68,10 @@
that login name.
[% END %]
[% ELSIF error == "account_
inexisten
t" %]
[% ELSIF error == "account_
does_not_exis
t" %]
[% 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" %]
...
...
token.cgi
View file @
8e32409b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment