feat: 用户管理列表增加来源字段(auth_source),支持本地/LDAP筛选

This commit is contained in:
hermes-$(hostname) committed 2026-05-29 17:05:56 +00:00
1 parent ac07e6ef38
commit 8384006ae9
5 files changed
+196 -117

No files matched your search

+1
View File
@@ -75,6 +75,7 @@ func Login(c *gin.Context) {
DisplayName: ldapInfo.DisplayName,
Email: ldapInfo.Email,
HashedPassword: "-", // LDAP 用户不存本地密码
AuthSource: "ldap",
Role: defaultRole,
IsActive: &isActive,
}