Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Commit

Permalink
PLF-8376 pass the request as a parameter to getToken method (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
waelghannem authored May 24, 2019
1 parent 88c050c commit c4fc1ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
eXo.env.portal.spaceGroup = "<%=SpaceUtils.getSpaceByContext() == null ? "" : SpaceUtils.getSpaceByContext().getGroupId().replace("/spaces/", "")%>" ;
eXo.env.portal.profileOwner = "<%=Utils.getOwnerRemoteId()%>" ;

eXo.env.portal.csrfToken = "<%=CSRFTokenUtil.getToken()%>";
eXo.env.portal.csrfToken = "<%=CSRFTokenUtil.getToken(((PortalRequestContext)rcontext).getRequest())%>";
</script>
<%
def headerElements = rcontext.getExtraMarkupHeadersAsStrings();
Expand Down

0 comments on commit c4fc1ba

Please sign in to comment.