From 701c8c78336403c07a1a3add78564d0100937c89 Mon Sep 17 00:00:00 2001 From: dklawren Date: Fri, 16 Nov 2018 15:34:58 -0500 Subject: [PATCH] Bug 1507901 - Phab revision panel in show_bug failing to display due to type check error for Bugzilla_api_token --- Bugzilla/Auth/Login/Cookie.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Auth/Login/Cookie.pm b/Bugzilla/Auth/Login/Cookie.pm index 9a94fe019..5655b92ae 100644 --- a/Bugzilla/Auth/Login/Cookie.pm +++ b/Bugzilla/Auth/Login/Cookie.pm @@ -58,7 +58,7 @@ sub get_login_info { # it is valid. if (i_am_webservice()) { if (exists Bugzilla->input_params->{Bugzilla_api_token}) { - my $api_token = Bugzilla->input_params->{Bugzilla_api_token}; + my $api_token = delete Bugzilla->input_params->{Bugzilla_api_token}; my ($token_user_id, undef, undef, $token_type) = Bugzilla::Token::GetTokenData($api_token); if (!defined $token_type -- 2.47.3