Skip to content

Commit

Permalink
Improved: Make loadJWT request auth true (OFBIZ-12894)
Browse files Browse the repository at this point in the history
When I created this request it did not occur to me that it should be better
using auth true
  • Loading branch information
JacquesLeRoux committed Feb 6, 2024
1 parent e4514d2 commit 6708f75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/common/webcommon/WEB-INF/common-controller.xml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,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" />
Expand Down Expand Up @@ -361,7 +361,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"/>
Expand Down

0 comments on commit 6708f75

Please sign in to comment.