added audit log messages that had previously been "missing," for community and conference changes

This commit is contained in:
2026-02-22 14:59:38 -07:00
parent 8dcfa79983
commit ac22181a19
5 changed files with 39 additions and 4 deletions
+2
View File
@@ -194,6 +194,8 @@ func (ci *ContactInfo) Save(ctx context.Context, changer *User, ipaddr string) (
if changer.Uid != ci.OwnerUid {
AmStoreAudit(AmNewAudit(AuditAdminSetUserContactInfo, changer.Uid, ipaddr, fmt.Sprintf("uid=%d", ci.OwnerUid), fmt.Sprintf("contactid=%d", ci.ContactId)))
}
} else {
AmStoreAudit(AmNewCommAudit(AuditCommunityContactInfo, changer.Uid, ci.OwnerCommId, ipaddr, fmt.Sprintf("contactid=%d", ci.ContactId)))
}
return emailChange, err
}