From a45a3f189eb8a2a369e09dce6ec9bfaa1c52605c Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 30 Nov 2018 13:44:13 -0500 Subject: [PATCH] bug 1354589 follow up - issue_session_token should be called in scalar context --- Bugzilla/Quantum/OAuth2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Quantum/OAuth2.pm b/Bugzilla/Quantum/OAuth2.pm index 62a1e1c50..d13678eb9 100644 --- a/Bugzilla/Quantum/OAuth2.pm +++ b/Bugzilla/Quantum/OAuth2.pm @@ -110,7 +110,7 @@ sub _resource_owner_confirm_scopes { my $vars = { client => $client, scopes => $scopes_ref, - token => issue_session_token('oauth_confirm_scopes') + token => scalar issue_session_token('oauth_confirm_scopes') }; $c->stash(%$vars); $c->render( -- 2.47.3