code cleanup

This commit is contained in:
Christoph Haas
2025-01-11 22:56:25 +01:00
parent 26d3257516
commit 63d85d8123
6 changed files with 31 additions and 22 deletions

View File

@@ -513,7 +513,7 @@ func (m Manager) updateLdapUsers(
err := m.users.SaveUser(tctx, user.Identifier, func(u *domain.User) (*domain.User, error) {
u.UpdatedAt = time.Now()
u.UpdatedBy = "ldap_sync"
u.UpdatedBy = domain.CtxSystemLdapSyncer
u.Email = user.Email
u.Firstname = user.Firstname
u.Lastname = user.Lastname