Add password meter to onboarding

This commit is contained in:
Manuel
2023-08-22 21:45:10 +02:00
parent e82f3d0ea9
commit 107c6c3995
10 changed files with 90 additions and 111 deletions

View File

@@ -139,7 +139,7 @@ export const getServerSideProps: GetServerSideProps = async (ctx) => {
}
const translations = await getServerSideTranslations(
manageNamespaces,
[...manageNamespaces, 'password-requirements'],
ctx.locale,
ctx.req,
ctx.res

View File

@@ -77,7 +77,7 @@ export const getServerSideProps: GetServerSideProps = async (ctx) => {
const configs = files.map((file) => getConfig(file));
const configSchemaVersions = configs.map((config) => config.schemaVersion);
const translations = await getServerSideTranslations([], ctx.locale, ctx.req, ctx.res);
const translations = await getServerSideTranslations(['password-requirements'], ctx.locale, ctx.req, ctx.res);
return {
props: {