refactor: 支持LDAP登录
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user