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:
Massimiliano Assante 2016-03-25 09:59:54 +00:00
parent 8958c629fd
commit d3fcaf9e60
1 changed files with 1 additions and 1 deletions

View File

@ -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);