summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Quantum/CGI.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-10-02 20:22:05 +0200
committerdklawren <dklawren@users.noreply.github.com>2018-10-02 20:22:05 +0200
commit62412db14081dd66cd5b2701b598b5af9eb31528 (patch)
tree7e84a852449e530a0b0bae5ef581eace63c81e83 /Bugzilla/Quantum/CGI.pm
parentabe9b579f25120898b714d4b73343918169d48ac (diff)
downloadbugzilla-62412db14081dd66cd5b2701b598b5af9eb31528.tar.gz
bugzilla-62412db14081dd66cd5b2701b598b5af9eb31528.tar.xz
add helpers for handling logins and error handling
Diffstat (limited to 'Bugzilla/Quantum/CGI.pm')
-rw-r--r--Bugzilla/Quantum/CGI.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Quantum/CGI.pm b/Bugzilla/Quantum/CGI.pm
index 945a87d5b..317c189cc 100644
--- a/Bugzilla/Quantum/CGI.pm
+++ b/Bugzilla/Quantum/CGI.pm
@@ -19,7 +19,7 @@ use File::Spec::Functions qw(catfile);
use File::Slurper qw(read_text);
use English qw(-no_match_vars);
use Bugzilla::Quantum::Stdout;
-use Bugzilla::Constants qw(bz_locations);
+use Bugzilla::Constants qw(bz_locations USAGE_MODE_BROWSER);
our $C;
my %SEEN;
@@ -61,6 +61,7 @@ sub load_one {
# the finally block calls cleanup.
$c->stash->{cleanup_guard}->dismiss;
+ Bugzilla->usage_mode(USAGE_MODE_BROWSER);
try {
Bugzilla->init_page();
$inner->();