[Feat][UI] Added LDAP function. (#11029)
This commit is contained in:
parent
6bf80f7a06
commit
ff34393333
|
|
@ -340,7 +340,8 @@ export function useDataList() {
|
|||
{
|
||||
label: t('user_dropdown.password'),
|
||||
key: 'password',
|
||||
icon: renderIcon(KeyOutlined)
|
||||
icon: renderIcon(KeyOutlined),
|
||||
disabled: (userStore.getUserInfo as UserInfoRes).securityConfigType !== 'PASSWORD'
|
||||
},
|
||||
{
|
||||
label: t('user_dropdown.logout'),
|
||||
|
|
|
|||
|
|
@ -100,6 +100,7 @@ interface UserInfoRes extends UserReq, IdReq {
|
|||
alertGroup?: any
|
||||
createTime: string
|
||||
updateTime: string
|
||||
securityConfigType: 'PASSWORD' | 'LDAP'
|
||||
}
|
||||
|
||||
interface UserListRes {
|
||||
|
|
|
|||
Loading…
Reference in New Issue