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

jleroux pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release18.12 by this push:
     new 41f7d1e593 Improved: Make loadJWT request auth true (OFBIZ-12894)
41f7d1e593 is described below

commit 41f7d1e5938e2743597523a145142f4c9df4afd5
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Tue Feb 6 09:29:37 2024 +0100

    Improved: Make loadJWT request auth true (OFBIZ-12894)
    
    When I created this request it did not occur to me that it should be better
    using auth true
---
 framework/common/webcommon/WEB-INF/common-controller.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/framework/common/webcommon/WEB-INF/common-controller.xml 
b/framework/common/webcommon/WEB-INF/common-controller.xml
index 250a7fccc0..1fd4680276 100644
--- a/framework/common/webcommon/WEB-INF/common-controller.xml
+++ b/framework/common/webcommon/WEB-INF/common-controller.xml
@@ -255,7 +255,7 @@ under the License.
 
     <!-- Common JavaScript loadJWT Request, to receive JwtToken within regular 
JS Code -->
     <request-map uri="loadJWT">
-        <security https="true" auth="false"/>
+        <security https="true" auth="true"/>
         <event type="java" path="org.apache.ofbiz.common.CommonEvents" 
invoke="loadJWT"/>
         <response name="success" type="none" />
         <response name="error" type="none" />
@@ -338,7 +338,7 @@ under the License.
     <view-map name="ShowDocument" type="screen" 
page="component://common/widget/HelpScreens.xml#showDocument"/>
 
     <view-map name="viewBlocked" type="screen" 
page="component://common/widget/CommonScreens.xml#viewBlocked"/>
-    
+
     <view-map name="LookupGeo" type="screen" 
page="component://common/widget/LookupScreens.xml#LookupGeo"/>
     <view-map name="LookupGeoName" type="screen" 
page="component://common/widget/LookupScreens.xml#LookupGeoName"/>
     <view-map name="LookupLocale" type="screen" 
page="component://common/widget/LookupScreens.xml#LookupLocale"/>

Reply via email to