fixed method for getting portrait URL
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/custom-portal-handler@126282 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8958c629fd
commit
d3fcaf9e60
|
@ -116,7 +116,7 @@ public class ScopeHelper {
|
|||
//add the social information needed by apps
|
||||
String fullName = user.getFirstName() + " " + user.getLastName();
|
||||
String email = user.getEmailAddress();
|
||||
String thumbnailURL = "/image/user_male_portrait?img_id="+user.getPortraitId();
|
||||
String thumbnailURL = themeDisplay.getUser().getPortraitURL(themeDisplay);
|
||||
boolean isMale = user.isMale();
|
||||
|
||||
SessionManager.getInstance().getASLSession(sessionID, username).setUserFullName(fullName);
|
||||
|
|
Loading…
Reference in New Issue