chore: fix system users (#39299)

This commit is contained in:
wxiaoguang authored and GitHub committed 2026-09-12 16:26:20 +00:00
1 parent 1e13badb39
commit 1280de5704
14 files changed
+26 -39

No files matched your search

@@ -23,7 +23,7 @@ import (
// Authenticate queries if login/password is valid against the LDAP directory pool,
// and create a local user if success when enabled.
func (source *Source) Authenticate(ctx context.Context, user *user_model.User, userName, password string) (*user_model.User, error) {
ctx = audit.WithDoer(ctx, user_model.NewAuthenticationSourceUser())
ctx = audit.WithDoer(ctx, user_model.NewAuthSourceUser())
loginName := userName
if user != nil {