fix: LDAP批量导入用户auth_source设为ldap而非默认local
This commit is contained in:
1 parent
0afc9947fb
commit
7b5f95e702
1 file changed
+1
@@ -465,6 +465,7 @@ func BatchImportLDAP(c *gin.Context) {
|
||||
Username: uid,
|
||||
DisplayName: cn,
|
||||
Role: req.Role,
|
||||
AuthSource: "ldap",
|
||||
IsActive: &isActive,
|
||||
HashedPassword: "-",
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user