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 and waelghannem committed May 25, 2019
1 parent 7672fc9 commit 4bf908f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,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 4bf908f

Please sign in to comment.