fix: LDAP批量导入用户auth_source设为ldap而非默认local

This commit is contained in:
logan committed 2026-05-30 02:34:29 +08:00
1 parent 0afc9947fb
commit 7b5f95e702
1 file changed
+1
+1
View File
@@ -465,6 +465,7 @@ func BatchImportLDAP(c *gin.Context) {
Username: uid,
DisplayName: cn,
Role: req.Role,
AuthSource: "ldap",
IsActive: &isActive,
HashedPassword: "-",
}