fix: make "login_name" field optional for API edit user (#38917)

This commit is contained in:
wxiaoguang
2026-08-16 21:39:28 +08:00
committed by GitHub
parent 5e4d21acd5
commit 63f2918336
6 changed files with 9 additions and 43 deletions
-1
View File
@@ -18,7 +18,6 @@ type User struct {
// login of the user, same as `username`
UserName string `json:"login"`
// identifier of the user, provided by the external authenticator (if configured)
// default: empty
LoginName string `json:"login_name"`
// The ID of the user's Authentication Source
SourceID int64 `json:"source_id"`