summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-08-29 06:56:17 +0200
committerByron Jones <bjones@mozilla.com>2012-08-29 06:56:17 +0200
commit8f71bef0e28234b14c3dfd33ec607553f2fcc82f (patch)
tree9d67463ed244e0b685adbc88ce8955c7064138c4 /Bugzilla
parentf54efb84d3118e169e6c6125db6afd9b6ac43633 (diff)
downloadbugzilla-8f71bef0e28234b14c3dfd33ec607553f2fcc82f.tar.gz
bugzilla-8f71bef0e28234b14c3dfd33ec607553f2fcc82f.tar.xz
Fix more bustage caused by Bug 772953
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/CGI.pm10
1 files changed, 6 insertions, 4 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index 0b75eeb0a..2bc7cc592 100644
--- a/Bugzilla/CGI.pm
+++ b/Bugzilla/CGI.pm
@@ -171,10 +171,12 @@ sub clean_search_url {
# Delete leftovers from the login form
$self->delete('Bugzilla_remember', 'GoAheadAndLogIn');
- # Delete the token if we're not updating the defaults
- unless (defined $self->param('remtype')
- && ($self->param('remtype') eq 'asdefault'
- || $self->param('remtype') eq 'asnamed'))
+ # Delete the token if we're not performing an action which needs it
+ unless ((defined $self->param('remtype')
+ && ($self->param('remtype') eq 'asdefault'
+ || $self->param('remtype') eq 'asnamed'))
+ || (defined $self->param('remaction')
+ && $self->param('remaction') eq 'forget'))
{
$self->delete("token");
}