modified url for current user

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/vre-members@130785 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2016-07-25 15:29:26 +00:00
parent c6c59e1105
commit 6526ea969b
1 changed files with 1 additions and 3 deletions

View File

@ -176,9 +176,7 @@ public class MembersServiceImpl extends RemoteServiceServlet implements MembersS
}
private String getUserProfileLink(String username) {
return (username.compareTo(getASLSession().getUsername()) != 0) ?
"profile?"+ new String(Base64.encodeBase64(GCubeSocialNetworking.USER_PROFILE_OID.getBytes()))+"="+new String(Base64.encodeBase64(username.getBytes()))
: GCubePortalConstants.USER_PROFILE_FRIENDLY_URL;
return "profile?"+ new String(Base64.encodeBase64(GCubeSocialNetworking.USER_PROFILE_OID.getBytes()))+"="+new String(Base64.encodeBase64(username.getBytes()));
}
private ArrayList<BelongingUser> getTestUsers() {