Skip to content
Snippets Groups Projects
Commit b6aa9a34 authored by bhill6@wisc.edu's avatar bhill6@wisc.edu
Browse files

Setting UwframeSession to use fullName as display name if displayName is null....

Setting UwframeSession to use fullName as display name if displayName is null. Previously always used fullName, but recent commit set it to always use displayName. This commit splits the difference.
parent a8c9f997
No related branches found
No related tags found
1 merge request!27Adding display name attribute, updated UDS libraries
......@@ -60,7 +60,8 @@ public class UwframeSession {
* @param userDetails
*/
public UwframeSession(Environment environment, UWUserDetails userDetails) {
this(environment, userDetails.getUsername(), userDetails.getDisplayName(), userDetails.getFirstName(), userDetails.getLastName());
this(environment, userDetails.getUsername(), userDetails.getDisplayName()!=null ? userDetails.getDisplayName() : userDetails.getFullName(),
userDetails.getFirstName(), userDetails.getLastName());
}
/**
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment