refactor: 支持LDAP登录

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

No files matched your search

@@ -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"
/>
@@ -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>
@@ -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>