diff options
author | Byron Jones <glob@mozilla.com> | 2014-11-04 15:40:34 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-11-04 15:40:34 +0100 |
commit | ede3ced0fa2b76a5fcf8770eee29a2e23d5189a9 (patch) | |
tree | 527db7cd4f722f315de1247ac77897fb24ad1d7c /Bugzilla/CGI.pm | |
parent | 64fc523d6feb517dae87d76ea8568f43b89e1547 (diff) | |
download | bugzilla-ede3ced0fa2b76a5fcf8770eee29a2e23d5189a9.tar.gz bugzilla-ede3ced0fa2b76a5fcf8770eee29a2e23d5189a9.tar.xz |
Bug 1093622: Backout bug 1090427 for causing: authenticated calls from bzapi are failing: 'Untrusted Authentication Request'
Diffstat (limited to 'Bugzilla/CGI.pm')
-rw-r--r-- | Bugzilla/CGI.pm | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 552da28ea..a12fb284b 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -331,7 +331,6 @@ sub close_standby_message { # Override header so we can add the cookies in sub header { my $self = shift; - my $user = Bugzilla->user; # If there's only one parameter, then it's a Content-Type. if (scalar(@_) == 1) { @@ -339,18 +338,6 @@ sub header { unshift(@_, '-type' => shift(@_)); } - if (!$user->id && $user->authorizer->can_login - && !$self->cookie('Bugzilla_login_request_cookie')) - { - my %args; - $args{'-secure'} = 1 if Bugzilla->params->{ssl_redirect}; - - $self->send_cookie(-name => 'Bugzilla_login_request_cookie', - -value => generate_random_password(), - -httponly => 1, - %args); - } - # Add the cookies in if we have any if (scalar(@{$self->{Bugzilla_cookie_list}})) { unshift(@_, '-cookie' => $self->{Bugzilla_cookie_list}); |