Refactoring
This commit is contained in:
parent
8505abca6f
commit
ba3fd90b10
2 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
1
view.go
1
view.go
|
@ -187,6 +187,7 @@ type ProfileTplData struct {
|
||||||
GivenName string
|
GivenName string
|
||||||
Surname string
|
Surname string
|
||||||
Description string
|
Description string
|
||||||
|
OtherEmail string
|
||||||
Common NestedCommonTplData
|
Common NestedCommonTplData
|
||||||
Login NestedLoginTplData
|
Login NestedLoginTplData
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue