From bbba4545f934e49cf294c1fa51c0c4a12c49d051 Mon Sep 17 00:00:00 2001 From: colin Date: Mon, 31 Mar 2025 10:27:05 +0800 Subject: [PATCH] fix(vben5): Password validator adds AbpValidation resources --- .../packages/@abp/identity/src/hooks/usePasswordValidator.ts | 2 +- apps/vben5/packages/@abp/identity/src/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/vben5/packages/@abp/identity/src/hooks/usePasswordValidator.ts b/apps/vben5/packages/@abp/identity/src/hooks/usePasswordValidator.ts index 0e64dbd55..620d6874e 100644 --- a/apps/vben5/packages/@abp/identity/src/hooks/usePasswordValidator.ts +++ b/apps/vben5/packages/@abp/identity/src/hooks/usePasswordValidator.ts @@ -14,7 +14,7 @@ import { export function usePasswordValidator() { const { getNumber, isTrue } = useSettings(); - const { L } = useLocalization(['AbpIdentity', 'AbpUi']); + const { L } = useLocalization(['AbpIdentity', 'AbpValidation', 'AbpUi']); const passwordSetting = computed(() => { return { diff --git a/apps/vben5/packages/@abp/identity/src/index.ts b/apps/vben5/packages/@abp/identity/src/index.ts index e8affa2fe..88795a62d 100644 --- a/apps/vben5/packages/@abp/identity/src/index.ts +++ b/apps/vben5/packages/@abp/identity/src/index.ts @@ -1,4 +1,5 @@ export * from './api'; export * from './components'; export { UserLookupPermissions } from './constants/permissions'; +export * from './hooks'; export * from './types';