fix: obscured text length
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -65,7 +65,7 @@ const AdminConfigTable = () => {
|
||||
</td>
|
||||
<td>
|
||||
{configVariable.obscured
|
||||
? "••••••••••••"
|
||||
? "•".repeat(configVariable.value.length)
|
||||
: configVariable.value}
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user