feat: refactor LDAP backend code and improve frontend operation (#1640)

* refactor: simplify ldap backend code and improve frontend operation

* chore: add skipCi tag in sync_test.go

* fix: ui
This commit is contained in:
Yaodong Yu
2023-03-12 11:12:51 +08:00
committed by GitHub
parent c2eebd61a1
commit 2cca1c9136
10 changed files with 120 additions and 174 deletions

View File

@ -636,14 +636,6 @@
}
}
},
"/api/check-ldap-users-exist": {
"post": {
"tags": [
"Account API"
],
"operationId": "ApiController.CheckLdapUserExist"
}
},
"/api/check-user-password": {
"post": {
"tags": [
@ -1349,8 +1341,8 @@
"operationId": "ApiController.GetLdap"
}
},
"/api/get-ldap-user": {
"post": {
"/api/get-ldap-users": {
"get": {
"tags": [
"Account API"
],
@ -1835,20 +1827,6 @@
}
}
},
"/api/get-release": {
"get": {
"tags": [
"System API"
],
"description": "get local github repo's latest release version info",
"operationId": "ApiController.GitRepoVersion",
"responses": {
"200": {
"description": "{string} local latest version hash of casdoor"
}
}
}
},
"/api/get-resource": {
"get": {
"tags": [
@ -2340,6 +2318,20 @@
}
}
},
"/api/get-version-info": {
"get": {
"tags": [
"System API"
],
"description": "get local git repo's latest release version info",
"operationId": "ApiController.GetVersionInfo",
"responses": {
"200": {
"description": "{string} local latest version hash of Casdoor"
}
}
}
},
"/api/get-webhook": {
"get": {
"tags": [
@ -3635,11 +3627,11 @@
}
},
"definitions": {
"2346.0xc000278ab0.false": {
"2268.0xc000528cf0.false": {
"title": "false",
"type": "object"
},
"2381.0xc000278ae0.false": {
"2302.0xc000528d20.false": {
"title": "false",
"type": "object"
},
@ -3766,10 +3758,10 @@
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/2346.0xc000278ab0.false"
"$ref": "#/definitions/2268.0xc000528cf0.false"
},
"data2": {
"$ref": "#/definitions/2381.0xc000278ae0.false"
"$ref": "#/definitions/2302.0xc000528d20.false"
},
"msg": {
"type": "string"