Refactoring
This commit is contained in:
parent
8505abca6f
commit
ba3fd90b10
|
@ -40,6 +40,7 @@ func handleUser(w http.ResponseWriter, r *http.Request) {
|
||||||
data.DisplayName = login.UserEntry.GetAttributeValue("displayName")
|
data.DisplayName = login.UserEntry.GetAttributeValue("displayName")
|
||||||
data.GivenName = login.UserEntry.GetAttributeValue("givenName")
|
data.GivenName = login.UserEntry.GetAttributeValue("givenName")
|
||||||
data.Surname = login.UserEntry.GetAttributeValue("sn")
|
data.Surname = login.UserEntry.GetAttributeValue("sn")
|
||||||
|
data.OtherEmail = login.UserEntry.GetAttributeValue("carLicense")
|
||||||
// data.Visibility = login.UserEntry.GetAttributeValue(FIELD_NAME_DIRECTORY_VISIBILITY)
|
// data.Visibility = login.UserEntry.GetAttributeValue(FIELD_NAME_DIRECTORY_VISIBILITY)
|
||||||
data.Description = login.UserEntry.GetAttributeValue("description")
|
data.Description = login.UserEntry.GetAttributeValue("description")
|
||||||
//data.ProfilePicture = login.UserEntry.GetAttributeValue(FIELD_NAME_PROFILE_PICTURE)
|
//data.ProfilePicture = login.UserEntry.GetAttributeValue(FIELD_NAME_PROFILE_PICTURE)
|
||||||
|
|
Loading…
Reference in a new issue