Skip to content

Commit

Permalink
fix: obscured text length
Browse files Browse the repository at this point in the history
  • Loading branch information
stonith404 committed Dec 8, 2022
1 parent a545c44 commit cbe37c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/prisma/seed/config.seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/admin/AdminConfigTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const AdminConfigTable = () => {
</td>
<td>
{configVariable.obscured
? "••••••••••••"
? "•".repeat(configVariable.value.length)
: configVariable.value}
</td>
<td>
Expand Down

0 comments on commit cbe37c6

Please sign in to comment.