Skip to content
Snippets Groups Projects
Commit 1c53e20e authored by Jeff Burke's avatar Jeff Burke
Browse files

Merge branch 'ac2' of gimli2:/srv/cadc/git/wopencadc into ac2

parents 8489a462 27289f15
Branches
Tags
No related merge requests found
......@@ -136,6 +136,11 @@ public class GetUserAction extends AbstractUserAction
try
{
user = userPersistence.getUser(principal);
}
catch (UserNotFoundException e)
{
user = userPersistence.getPendingUser(principal);
}
// Only return user profile info, first and last name.
if (detail != null && detail.equalsIgnoreCase("display"))
......@@ -151,11 +156,7 @@ public class GetUserAction extends AbstractUserAction
user.details.clear();
user.details.add(new PersonalDetails(pd.getFirstName(), pd.getLastName()));
}
}
catch (UserNotFoundException e)
{
user = userPersistence.getPendingUser(principal);
}
}
return user;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment