Client - add missing zxcvbn language package (de)

This commit is contained in:
Sam
2022-09-21 08:55:09 +02:00
parent 7959c63f84
commit 93b2c1f3ac
3 changed files with 10 additions and 0 deletions

View File

@ -10,7 +10,11 @@ export const setZxcvbnOptions = async (language: string) => {
const zxcvbnFrPackage = await import(
/* webpackChunkName: "password" */ '@zxcvbn-ts/language-fr'
)
const zxcvbnDePackage = await import(
/* webpackChunkName: "password" */ '@zxcvbn-ts/language-de'
)
const zxcvbnLangPackages: Record<string, typeof zxcvbnEnPackage> = {
de: zxcvbnDePackage,
en: zxcvbnEnPackage,
fr: zxcvbnFrPackage,
}