This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new edd5fbb  [OPENMEETINGS-2165] build should be fixed
edd5fbb is described below

commit edd5fbb7bbc0270aecffcfac91f8edca301b3998
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Mon Mar 9 08:15:45 2020 +0700

    [OPENMEETINGS-2165] build should be fixed
---
 .../src/main/java/org/apache/openmeetings/web/app/Application.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
index 887f2ec..4c79637 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
@@ -335,7 +335,7 @@ public class Application extends 
AuthenticatedWebApplication implements IApplica
                        Version.logOMStarted();
                        recordingDao.resetProcessingStatus(); //we are starting 
so all processing recordings are now errors
 
-                       getCsp().blocking().disabled(); //FIXME TODO due to 
`reporting-only enabled`
+                       getCspSettings().blocking().disabled(); //FIXME TODO 
due to `reporting-only enabled`
                        oauthDao.getActive().forEach(oauth -> {
                                if (!Strings.isEmpty(oauth.getIconUrl())) {
                                        cspConfig.add(CSPDirective.IMG_SRC, 
oauth.getIconUrl());
@@ -375,7 +375,7 @@ public class Application extends 
AuthenticatedWebApplication implements IApplica
        }
 
        public CSPHeaderConfiguration getCspConfig() {
-               return getCsp().reporting();
+               return getCspSettings().reporting();
        }
 
        public static OmAuthenticationStrategy getAuthenticationStrategy() {

Reply via email to