mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-11 03:40:24 +08:00
feat: 实现 LDAP 登录
This commit is contained in:
@@ -11,4 +11,6 @@ export default {
|
||||
logout: () => request.post('/auth/accounts/logout'),
|
||||
getPermissions: () => request.get('/sys/accounts/permissions'),
|
||||
oauth2Callback: (params: any) => request.get('/auth/oauth2/callback', params),
|
||||
getLdapEnabled: () => request.get("/auth/ldap/enabled"),
|
||||
ldapLogin: (param: any) => request.post('/auth/ldap/login', param),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user