diff --git a/view-user.go b/view-user.go index be1a748..40c3671 100644 --- a/view-user.go +++ b/view-user.go @@ -40,6 +40,7 @@ func handleUser(w http.ResponseWriter, r *http.Request) { data.DisplayName = login.UserEntry.GetAttributeValue("displayName") data.GivenName = login.UserEntry.GetAttributeValue("givenName") data.Surname = login.UserEntry.GetAttributeValue("sn") + data.OtherEmail = login.UserEntry.GetAttributeValue("carLicense") // data.Visibility = login.UserEntry.GetAttributeValue(FIELD_NAME_DIRECTORY_VISIBILITY) data.Description = login.UserEntry.GetAttributeValue("description") //data.ProfilePicture = login.UserEntry.GetAttributeValue(FIELD_NAME_PROFILE_PICTURE) diff --git a/view.go b/view.go index 23c9ea5..9195f7f 100644 --- a/view.go +++ b/view.go @@ -187,6 +187,7 @@ type ProfileTplData struct { GivenName string Surname string Description string + OtherEmail string Common NestedCommonTplData Login NestedLoginTplData }