diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-05-19 06:40:27 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-06-28 22:41:55 +0200 |
commit | 5431f2fa940ebfc90503162f578bb6d118a233a1 (patch) | |
tree | 1c2bbddbff16191e270d3759ce74bc831fc02832 | |
parent | 10918f3336863623020a6d73e63a0f0a5eebb306 (diff) | |
download | bugzilla-5431f2fa940ebfc90503162f578bb6d118a233a1.tar.gz bugzilla-5431f2fa940ebfc90503162f578bb6d118a233a1.tar.xz |
some fixes
-rw-r--r-- | Bugzilla/CGI.pm | 2 | ||||
-rw-r--r-- | Bugzilla/Quantum.pm | 1 | ||||
-rw-r--r-- | Bugzilla/Quantum/CGI.pm | 2 |
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) = @_; |