From cbe37c679853ecef1522ed213e4cac5defd5b45a Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Thu, 8 Dec 2022 23:12:25 +0100 Subject: [PATCH] fix: obscured text length --- backend/prisma/seed/config.seed.ts | 2 +- frontend/src/components/admin/AdminConfigTable.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/prisma/seed/config.seed.ts b/backend/prisma/seed/config.seed.ts index bf856d3ea..52509cef4 100644 --- a/backend/prisma/seed/config.seed.ts +++ b/backend/prisma/seed/config.seed.ts @@ -55,7 +55,7 @@ const configVariables: Prisma.ConfigCreateInput[] = [ { key: "ENABLE_EMAIL_RECIPIENTS", description: - "Whether to send emails to recipients. Only set this to true if you entered the host, port, email and password of your SMTP server.", + "Whether to send emails to recipients. Only set this to true if you entered the host, port, email, user and password of your SMTP server.", type: "boolean", value: "false", secret: false, diff --git a/frontend/src/components/admin/AdminConfigTable.tsx b/frontend/src/components/admin/AdminConfigTable.tsx index 3ff883e10..1cea9785c 100644 --- a/frontend/src/components/admin/AdminConfigTable.tsx +++ b/frontend/src/components/admin/AdminConfigTable.tsx @@ -65,7 +65,7 @@ const AdminConfigTable = () => { {configVariable.obscured - ? "••••••••••••" + ? "•".repeat(configVariable.value.length) : configVariable.value}