fix(audit): populate email/name in audit events
This commit is contained in:
1 parent
2c043d82fa
commit
fe35f74ee3
5 files changed
+404
-9
No files matched your search
@@ -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},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user