refactor: 支持LDAP登录

This commit is contained in:
caiyuchao
2025-08-22 19:12:04 +08:00
parent f7a37dd4b2
commit 41bc7d149e
6 changed files with 21 additions and 7 deletions

View File

@@ -179,6 +179,7 @@ const formSchema = computed((): VbenFormSchema[] => {
:show-forget-password="false"
:show-qrcode-login="false"
:show-third-party-login="false"
:show-register="false"
@submit="handleLogin"
@third-login="handleThirdLogin"
/>

View File

@@ -88,7 +88,13 @@ async function handleSubmit(values: Recordable<any>) {
</script>
<template>
<div class="mt-4 md:w-full lg:w-1/2 2xl:w-2/5">
<Form />
<div>
<a-alert
message="注意公司内部LDAP通用账号密码该密码和NAS、觅思的密码一致"
type="error"
/>
<div class="mt-4 md:w-full lg:w-1/2 2xl:w-2/5">
<Form />
</div>
</div>
</template>

View File

@@ -61,6 +61,11 @@ const [Modal, modalApi] = useVbenModal({
<template>
<Modal title="重置密码">
<a-alert
message="注意公司内部LDAP通用账号密码该密码和NAS、觅思的密码一致"
type="error"
class="mb-2"
/>
<Form class="mx-4" />
</Modal>
</template>