fix(ldap): update phone numbers and company data from ldap
This commit is contained in:
parent
4d2c1b5de7
commit
991ee9c704
@ -270,12 +270,16 @@ upsertCampusUser upsertMode ldapData = do
|
|||||||
, ..
|
, ..
|
||||||
}
|
}
|
||||||
userUpdate = [
|
userUpdate = [
|
||||||
-- UserDisplayName =. userDisplayName
|
-- UserDisplayName =. userDisplayName -- SJ asks: why is the display name not updated?
|
||||||
UserFirstName =. userFirstName
|
UserFirstName =. userFirstName
|
||||||
, UserSurname =. userSurname
|
, UserSurname =. userSurname
|
||||||
, UserEmail =. userEmail
|
, UserEmail =. userEmail
|
||||||
, UserLastLdapSynchronisation =. Just now
|
, UserLastLdapSynchronisation =. Just now
|
||||||
, UserLdapPrimaryKey =. userLdapPrimaryKey
|
, UserLdapPrimaryKey =. userLdapPrimaryKey
|
||||||
|
, UserMobile =. userMobile
|
||||||
|
, UserTelephone =. userTelephone
|
||||||
|
, UserCompanyPersonalNumber =. userCompanyPersonalNumber
|
||||||
|
, UserCompanyDepartment =. userCompanyDepartment
|
||||||
] ++
|
] ++
|
||||||
[ UserLastAuthentication =. Just now | isLogin ]
|
[ UserLastAuthentication =. Just now | isLogin ]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user