summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/CGI.pm2
-rw-r--r--Bugzilla/Quantum.pm1
-rw-r--r--Bugzilla/Quantum/CGI.pm2
3 files changed, 3 insertions, 2 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index bfd2a72f6..8158cb9c2 100644
--- a/Bugzilla/CGI.pm
+++ b/Bugzilla/CGI.pm
@@ -26,7 +26,7 @@ use URI;
use Role::Tiny::With;
-with 'Bugzilla::CGI::ContentSecurityPolicyAttr';
+with 'Bugzilla::CGI::Role';
BEGIN {
if (ON_WINDOWS) {
diff --git a/Bugzilla/Quantum.pm b/Bugzilla/Quantum.pm
index bb7f06b55..7cfed59c6 100644
--- a/Bugzilla/Quantum.pm
+++ b/Bugzilla/Quantum.pm
@@ -33,6 +33,7 @@ sub startup {
my $extensions = Bugzilla::Extension->load_all();
Bugzilla->preload_features();
Bugzilla->template;
+ $self->secrets([Bugzilla->localconfig->{side_wide_secret}]);
my $rest = compile_cgi('rest.cgi');
$self->plugin('Bugzilla::Quantum::Plugin::Glue');
diff --git a/Bugzilla/Quantum/CGI.pm b/Bugzilla/Quantum/CGI.pm
index e5db4123f..dd893a0f0 100644
--- a/Bugzilla/Quantum/CGI.pm
+++ b/Bugzilla/Quantum/CGI.pm
@@ -19,7 +19,7 @@ has 'csp_object' => (
writer => 'set_csp_object',
);
-with 'Bugzilla::CGI::ContentSecurityPolicyAttr';
+with 'Bugzilla::CGI::Role';
sub script_name {
my ($self) = @_;