diff options
author | Byron Jones <bjones@mozilla.com> | 2012-08-29 06:59:26 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-08-29 06:59:26 +0200 |
commit | 98954571ac9cdc3d25ae626bde4ef8c1a18b9811 (patch) | |
tree | c0c4ac7e71f8a0d44cc18d2c0a1faa67ef62285a /Bugzilla/CGI.pm | |
parent | 7b55436a724b9a65fb5a735cfd8965313e9161e3 (diff) | |
download | bugzilla-98954571ac9cdc3d25ae626bde4ef8c1a18b9811.tar.gz bugzilla-98954571ac9cdc3d25ae626bde4ef8c1a18b9811.tar.xz |
Fix more bustage caused by Bug 772953
Diffstat (limited to 'Bugzilla/CGI.pm')
-rw-r--r-- | Bugzilla/CGI.pm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index d58b19088..7135f7c48 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -169,10 +169,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"); } |