From 090abc7dbde84027dac78423b160fd08908713d1 Mon Sep 17 00:00:00 2001 From: Dylan Hardison Date: Fri, 13 Nov 2015 11:48:53 -0500 Subject: Bug 1223590 - Unable to login to bugzilla via login to github (fresh bugzilla account) --- github.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'github.cgi') diff --git a/github.cgi b/github.cgi index e2955e299..03a5753e6 100755 --- a/github.cgi +++ b/github.cgi @@ -61,7 +61,7 @@ elsif (lc($cgi->request_method) eq 'get') { # If the state or params are missing, or the github_state cookie is missing # we just redirect to index.cgi. - unless ($state_param && $state_cookie && $cgi->param('code')) { + unless ($state_param && $state_cookie && ($cgi->param('code') || $cgi->param('email'))) { print $cgi->redirect($urlbase . "index.cgi"); exit; } -- cgit v1.2.3-24-g4f1b