fix(audit): populate email/name in audit events

This commit is contained in:
Louis Ruch committed 2026-05-08 12:56:52 -07:00
1 parent 2c043d82fa
commit fe35f74ee3
5 files changed
+404 -9

No files matched your search

+1 -1
View File
@@ -289,7 +289,7 @@ func (b *Server) CreateDevLdapAuthMethod(ctx context.Context) error {
createUserFn := func(userName, passwd string, withMembersOf []string) *gldap.Entry {
entryAttrs := map[string][]string{
"name": {userName},
"fullName": {userName},
"email": {fmt.Sprintf("%s@localhost", userName)},
"password": {passwd},
}