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
3514b985
Commit
3514b985
authored
Jul 10, 2007
by
timeless%mozdev.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 365472 rename 'token_inexistent' to 'token_does_not_exist' or something
r=lpsolit a=lpsolit
parent
01d86120
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
attachment.cgi
attachment.cgi
+1
-1
post_bug.cgi
post_bug.cgi
+1
-1
user-error.html.tmpl
template/en/default/global/user-error.html.tmpl
+1
-1
token.cgi
token.cgi
+1
-1
No files found.
attachment.cgi
View file @
3514b985
...
...
@@ -684,7 +684,7 @@ sub delete_attachment {
&&
(
$event
eq
'attachment'
.
$attachment
->
id
))
{
# The token is invalid.
ThrowUserError
(
'token_
inexisten
t'
);
ThrowUserError
(
'token_
does_not_exis
t'
);
}
# The token is valid. Delete the content of the attachment.
...
...
post_bug.cgi
View file @
3514b985
...
...
@@ -62,7 +62,7 @@ if ($token) {
&&
(
$old_bug_id
=~
"^createbug:"
))
{
# The token is invalid.
ThrowUserError
(
'token_
inexisten
t'
);
ThrowUserError
(
'token_
does_not_exis
t'
);
}
$old_bug_id
=~
s/^createbug://
;
...
...
template/en/default/global/user-error.html.tmpl
View file @
3514b985
...
...
@@ -1412,7 +1412,7 @@
<tt>[% product FILTER html %]</tt> product, which exceeds the maximum of
[%+ max FILTER html %] votes for this product.
[% ELSIF error == "token_
inexisten
t" %]
[% ELSIF error == "token_
does_not_exis
t" %]
[% title = "Token Does Not Exist" %]
The token you submitted does not exist, has expired, or has
been canceled.
...
...
token.cgi
View file @
3514b985
...
...
@@ -72,7 +72,7 @@ if ($cgi->param('t')) {
# Make sure the token exists in the database.
my
(
$tokentype
)
=
$dbh
->
selectrow_array
(
'SELECT tokentype FROM tokens
WHERE token = ?'
,
undef
,
$::token
);
$tokentype
||
ThrowUserError
(
"token_
inexisten
t"
);
$tokentype
||
ThrowUserError
(
"token_
does_not_exis
t"
);
# Make sure the token is the correct type for the action being taken.
if
(
grep
(
$::action
eq
$_
,
qw(cfmpw cxlpw chgpw)
)
&&
$tokentype
ne
'password'
)
{
...
...
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